home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
You can browse this item here: FORTHDEM00
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| tar archive
| default
| |
99%
| file
| tar archive (V7), file _files/FileInfo, mode 600, uid 0, gid 0, size 3604, seconds 5005404635
| default
| |
98%
| file
| data
| default
| |
100%
| TrID
| TAR - Tape ARchive (file)
| default
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| Kopftext: '_files/FileInfo'
| default (weak)
| |
100%
| disktype
| Pre-POSIX tar archive
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5f 66 69 6c 65 73 2f 46 | 69 6c 65 49 6e 66 6f 00 |_files/F|ileInfo.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 20 20 36 | 30 30 00 00 20 20 20 20 |.... 6|00.. |
|00000070| 20 30 00 00 20 20 20 20 | 20 30 00 00 20 20 20 20 | 0.. | 0.. |
|00000080| 20 20 20 33 36 30 34 00 | 20 35 30 30 35 34 30 34 | 3604.| 5005404|
|00000090| 36 33 35 00 20 20 37 33 | 32 30 00 20 30 00 00 00 |635. 73|20. 0...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 20 20 20 20 20 20 20 |........|. |
|00000140| 20 20 20 30 20 00 00 00 | 00 00 00 00 00 00 00 00 | 0 ...|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 53 6f 6d 65 20 49 6e 66 | 6f 20 61 62 6f 75 74 20 |Some Inf|o about |
|00000210| 74 68 65 20 66 69 6c 65 | 73 20 69 6e 63 6c 75 64 |the file|s includ|
|00000220| 65 64 20 69 6e 20 3c 66 | 6f 72 74 68 24 64 69 72 |ed in <f|orth$dir|
|00000230| 3e 2e 66 6f 72 74 68 0a | 0a 69 6e 69 74 20 20 20 |>.forth.|.init |
|00000240| 20 20 20 20 20 20 20 2d | 20 44 4f 20 4e 4f 54 20 | -| DO NOT |
|00000250| 44 45 4c 45 54 45 20 54 | 48 49 53 20 46 49 4c 45 |DELETE T|HIS FILE|
|00000260| 2e 2e 20 49 74 20 69 73 | 20 61 75 74 6f 6c 6f 61 |.. It is| autoloa|
|00000270| 64 65 64 20 6f 6e 20 73 | 74 61 72 74 75 70 2e 0a |ded on s|tartup..|
|00000280| 0a 73 74 72 69 6e 67 6c | 69 62 20 20 20 20 20 2d |.stringl|ib -|
|00000290| 20 70 72 6f 76 69 64 65 | 73 20 73 6f 6d 65 20 73 | provide|s some s|
|000002a0| 74 72 69 6e 67 20 75 74 | 69 6c 69 74 69 65 73 0a |tring ut|ilities.|
|000002b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2d 20 | | - |
|000002c0| 73 74 72 64 75 70 20 64 | 75 70 6c 69 63 61 74 65 |strdup d|uplicate|
|000002d0| 73 20 61 20 73 74 72 69 | 6e 67 20 74 68 61 74 20 |s a stri|ng that |
|000002e0| 69 73 20 6f 6e 20 74 68 | 65 20 73 74 61 63 6b 0a |is on th|e stack.|
|000002f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2d 20 | | - |
|00000300| 70 75 74 73 74 72 20 70 | 75 74 73 20 74 68 65 20 |putstr p|uts the |
|00000310| 73 74 72 69 6e 67 20 74 | 68 61 74 20 69 73 20 74 |string t|hat is t|
|00000320| 68 65 20 32 6e 64 20 73 | 74 61 63 6b 20 65 6e 74 |he 2nd s|tack ent|
|00000330| 72 79 20 69 6e 74 6f 0a | 20 20 20 20 20 20 20 20 |ry into.| |
|00000340| 20 20 20 20 20 20 20 20 | 74 68 65 20 61 72 65 61 | |the area|
|00000350| 20 6f 66 20 52 41 4d 20 | 69 64 65 6e 74 69 66 69 | of RAM |identifi|
|00000360| 65 64 20 62 79 20 74 68 | 65 20 61 64 64 72 65 73 |ed by th|e addres|
|00000370| 73 20 74 68 61 74 20 69 | 73 20 74 68 65 20 74 6f |s that i|s the to|
|00000380| 70 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |p. | |
|00000390| 20 20 73 74 61 63 6b 20 | 65 6e 74 72 79 2e 0a 20 | stack |entry.. |
|000003a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 66 | | f|
|000003b0| 6f 72 20 65 78 61 6d 70 | 6c 65 3a 0a 20 20 20 20 |or examp|le:. |
|000003c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000003d0| 30 20 76 61 72 69 61 62 | 6c 65 20 73 74 72 69 6e |0 variab|le strin|
|000003e0| 67 20 32 30 20 64 70 20 | 2b 21 0a 20 20 20 20 20 |g 20 dp |+!. |
|000003f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 28 | | (|
|00000400| 20 68 65 6c 6c 6f 20 77 | 6f 72 6c 64 20 29 20 73 | hello w|orld ) s|
|00000410| 74 72 69 6e 67 20 70 75 | 74 73 74 72 0a 20 20 20 |tring pu|tstr. |
|00000420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 74 68 69 | | thi|
|00000430| 73 20 63 72 65 61 74 65 | 73 20 61 20 76 61 72 69 |s create|s a vari|
|00000440| 61 62 6c 65 20 73 74 72 | 69 6e 67 20 74 68 61 74 |able str|ing that|
|00000450| 20 68 61 73 20 32 34 20 | 62 79 74 65 73 20 72 65 | has 24 |bytes re|
|00000460| 73 65 72 76 65 64 20 69 | 6e 0a 20 20 20 20 20 20 |served i|n. |
|00000470| 20 20 20 20 20 20 20 20 | 20 20 69 74 20 61 6e 64 | | it and|
|00000480| 20 74 68 65 6e 20 70 75 | 74 73 20 74 68 65 20 73 | then pu|ts the s|
|00000490| 74 72 69 6e 67 20 62 65 | 74 77 65 65 6e 20 28 29 |tring be|tween ()|
|000004a0| 20 69 6e 74 6f 20 74 68 | 61 74 20 73 70 61 63 65 | into th|at space|
|000004b0| 2e 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|000004c0| 20 20 4e 4f 20 52 41 4e | 47 45 20 43 48 45 43 4b | NO RAN|GE CHECK|
|000004d0| 49 4e 47 20 49 53 20 44 | 4f 4e 45 20 73 6f 20 62 |ING IS D|ONE so b|
|000004e0| 65 20 77 61 72 6e 65 64 | 2e 2e 0a 20 20 20 20 20 |e warned|... |
|000004f0| 20 20 20 20 20 20 20 20 | 20 2d 20 67 65 74 73 74 | | - getst|
|00000500| 72 20 67 65 74 73 20 74 | 68 65 20 73 74 72 69 6e |r gets t|he strin|
|00000510| 67 20 61 74 20 74 68 65 | 20 61 64 64 72 65 73 73 |g at the| address|
|00000520| 20 70 6f 69 6e 74 65 64 | 20 74 6f 20 62 79 20 74 | pointed| to by t|
|00000530| 68 65 20 74 6f 70 0a 20 | 20 20 20 20 20 20 20 20 |he top. | |
|00000540| 20 20 20 20 20 20 20 73 | 74 61 63 6b 20 65 6e 74 | s|tack ent|
|00000550| 72 79 20 61 6e 64 20 70 | 75 73 68 65 73 20 69 74 |ry and p|ushes it|
|00000560| 20 6f 6e 74 6f 20 74 68 | 65 20 73 74 61 63 6b 2e | onto th|e stack.|
|00000570| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000580| 20 66 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 63 6f | for exa|mple, co|
|00000590| 6e 74 69 6e 75 69 6e 67 | 20 66 72 6f 6d 20 61 66 |ntinuing| from af|
|000005a0| 74 65 72 20 74 68 65 20 | 61 62 6f 76 65 20 3a 0a |ter the |above :.|
|000005b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005c0| 20 20 20 20 73 74 72 69 | 6e 67 20 67 65 74 73 74 | stri|ng getst|
|000005d0| 72 20 74 79 70 65 0a 20 | 20 20 20 20 20 20 20 20 |r type. | |
|000005e0| 20 20 20 20 20 20 20 77 | 69 6c 6c 20 70 72 69 6e | w|ill prin|
|000005f0| 74 20 68 65 6c 6c 6f 20 | 77 6f 72 6c 64 2e 0a 0a |t hello |world...|
|00000600| 64 65 6d 6f 73 2e 2a 20 | 20 20 20 20 20 20 2d 20 |demos.* | - |
|00000610| 76 61 72 69 6f 75 73 20 | 74 72 69 76 69 61 6c 20 |various |trivial |
|00000620| 64 65 6d 6f 73 2e 0a 0a | 75 74 69 6c 69 74 79 2e |demos...|utility.|
|00000630| 6d 6d 20 20 20 20 2d 20 | 6d 75 6c 74 69 74 61 73 |mm - |multitas|
|00000640| 6b 69 6e 67 20 75 74 69 | 6c 69 74 79 2e 20 49 74 |king uti|lity. It|
|00000650| 20 73 68 6f 77 73 20 74 | 68 65 20 70 72 6f 63 65 | shows t|he proce|
|00000660| 73 73 20 71 75 65 75 65 | 20 61 6e 64 20 74 68 65 |ss queue| and the|
|00000670| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000680| 20 6e 75 6d 62 65 72 20 | 6f 66 20 70 72 6f 63 65 | number |of proce|
|00000690| 73 73 65 73 20 72 75 6e | 6e 69 6e 67 2e 20 4d 65 |sses run|ning. Me|
|000006a0| 73 73 69 6e 67 20 77 69 | 74 68 20 74 68 65 20 70 |ssing wi|th the p|
|000006b0| 72 6f 63 65 73 73 20 71 | 75 65 75 65 0a 20 20 20 |rocess q|ueue. |
|000006c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 69 64 65 | | ide|
|000006d0| 6e 74 69 66 69 65 64 20 | 62 79 20 71 75 61 6e 74 |ntified |by quant|
|000006e0| 61 6d 20 69 73 20 61 20 | 42 41 44 20 74 68 69 6e |am is a |BAD thin|
|000006f0| 67 20 74 6f 20 64 6f 2e | 0a 0a 75 74 69 6c 69 74 |g to do.|..utilit|
|00000700| 79 2e 76 6f 63 61 62 20 | 2d 20 61 20 75 74 69 6c |y.vocab |- a util|
|00000710| 69 74 79 20 74 6f 20 64 | 69 73 70 6c 61 79 20 74 |ity to d|isplay t|
|00000720| 68 65 20 76 6f 63 61 62 | 75 6c 61 72 79 20 74 68 |he vocab|ulary th|
|00000730| 61 74 20 74 68 65 20 69 | 6e 74 65 72 70 72 65 74 |at the i|nterpret|
|00000740| 65 72 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |er. | |
|00000750| 20 20 20 75 6e 64 65 72 | 73 74 61 6e 64 73 2e 0a | under|stands..|
|00000760| 0a 54 68 65 72 65 20 77 | 65 72 65 20 6d 6f 72 65 |.There w|ere more|
|00000770| 20 66 69 6c 65 73 20 73 | 75 63 68 20 61 73 20 61 | files s|uch as a|
|00000780| 20 62 61 63 6b 67 72 6f | 75 6e 64 20 66 69 6c 65 | backgro|und file|
|00000790| 20 63 6f 70 69 65 72 2c | 20 61 6e 20 61 73 73 65 | copier,| an asse|
|000007a0| 6d 62 6c 65 72 0a 28 20 | 6e 65 61 72 6c 79 20 63 |mbler.( |nearly c|
|000007b0| 6f 6d 70 6c 65 74 65 20 | 29 20 61 6e 20 65 64 69 |omplete |) an edi|
|000007c0| 74 6f 72 2c 20 61 20 6b | 65 72 6e 65 6c 20 6c 6f |tor, a k|ernel lo|
|000007d0| 63 6b 69 6e 67 20 70 72 | 6f 67 72 61 6d 20 74 6f |cking pr|ogram to|
|000007e0| 20 70 72 6f 74 65 63 74 | 20 70 72 6f 67 72 61 6d | protect| program|
|000007f0| 73 0a 77 72 69 74 74 65 | 6e 20 69 6e 20 41 52 4d |s.writte|n in ARM|
|00000800| 46 4f 52 54 48 20 62 79 | 20 72 65 6d 6f 76 69 6e |FORTH by| removin|
|00000810| 67 20 41 4c 4c 20 6b 65 | 79 77 6f 72 64 73 20 65 |g ALL ke|ywords e|
|00000820| 78 63 65 70 74 20 74 68 | 65 20 73 69 6e 67 6c 65 |xcept th|e single|
|00000830| 20 6f 6e 65 20 74 68 61 | 74 0a 73 74 61 72 74 73 | one tha|t.starts|
|00000840| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00000850| 6e 2e 20 54 68 69 73 20 | 61 6c 73 6f 20 73 65 72 |n. This |also ser|
|00000860| 76 65 73 20 74 6f 20 70 | 72 65 76 65 6e 74 20 74 |ves to p|revent t|
|00000870| 68 65 20 65 6e 64 20 75 | 73 65 72 20 67 65 74 74 |he end u|ser gett|
|00000880| 69 6e 67 0a 74 68 65 20 | 41 52 4d 46 4f 52 54 48 |ing.the |ARMFORTH|
|00000890| 20 6b 65 72 6e 65 6c 20 | 77 69 74 68 20 79 6f 75 | kernel |with you|
|000008a0| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 62 79 |r applic|ation by|
|000008b0| 20 27 61 63 63 69 64 65 | 6e 74 27 2e 0a 0a 48 61 | 'accide|nt'...Ha|
|000008c0| 76 65 20 66 75 6e 2e 20 | 4e 6f 74 20 68 61 76 69 |ve fun. |Not havi|
|000008d0| 6e 67 20 66 69 6c 69 6e | 67 20 69 73 6e 27 74 20 |ng filin|g isn't |
|000008e0| 74 6f 6f 20 72 65 73 74 | 72 69 63 74 69 76 65 20 |too rest|rictive |
|000008f0| 61 6e 64 20 49 20 64 65 | 6c 69 62 65 72 61 74 65 |and I de|liberate|
|00000900| 6c 79 20 64 69 64 6e 27 | 74 0a 70 72 6f 76 69 64 |ly didn'|t.provid|
|00000910| 65 20 74 68 65 20 61 73 | 73 65 6d 62 6c 65 72 20 |e the as|sembler |
|00000920| 66 6f 72 20 74 68 65 20 | 73 61 6d 65 20 72 65 61 |for the |same rea|
|00000930| 73 6f 6e 2c 20 61 73 20 | 49 20 73 61 69 64 20 69 |son, as |I said i|
|00000940| 6e 20 6d 79 20 65 6d 61 | 69 6c 20 6e 6f 74 65 2c |n my ema|il note,|
|00000950| 20 49 0a 6d 69 67 68 74 | 20 77 61 6e 74 20 74 6f | I.might| want to|
|00000960| 20 74 72 79 20 74 6f 20 | 6d 61 6b 65 20 73 6f 6d | try to |make som|
|00000970| 65 20 6d 6f 6e 65 79 20 | 6f 75 74 20 6f 66 20 74 |e money |out of t|
|00000980| 68 69 73 2e 00 00 00 00 | 00 00 00 00 00 00 00 00 |his.....|........|
|00000990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a00| 5f 66 69 6c 65 73 2f 69 | 6e 66 6f 00 00 00 00 00 |_files/i|nfo.....|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 20 20 20 36 | 30 30 00 00 20 20 20 20 |.... 6|00.. |
|00000a70| 20 30 00 00 20 20 20 20 | 20 30 00 00 20 20 20 20 | 0.. | 0.. |
|00000a80| 20 31 31 35 37 37 31 00 | 20 35 30 30 35 31 32 32 | 115771.| 5005122|
|00000a90| 33 36 32 00 20 20 36 36 | 32 33 00 20 30 00 00 00 |362. 66|23. 0...|
|00000aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b00| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b30| 00 00 00 00 00 00 00 00 | 00 20 20 20 20 20 20 20 |........|. |
|00000b40| 20 20 20 30 20 00 00 00 | 00 00 00 00 00 00 00 00 | 0 ...|........|
|00000b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000c00| 41 52 4d 46 4f 52 54 48 | 20 28 63 29 20 44 61 76 |ARMFORTH| (c) Dav|
|00000c10| 69 64 73 6f 66 74 20 31 | 39 39 31 0a 0a 42 61 73 |idsoft 1|991..Bas|
|00000c20| 65 64 20 75 70 6f 6e 20 | 74 68 65 20 6c 61 6e 67 |ed upon |the lang|
|00000c30| 75 61 67 65 20 46 4f 52 | 54 48 0a 0a 56 65 72 73 |uage FOR|TH..Vers|
|00000c40| 69 6f 6e 20 31 2e 31 30 | 0a 0a 44 61 76 69 64 20 |ion 1.10|..David |
|00000c50| 52 65 64 6d 61 6e 0a 33 | 33 20 4d 61 6e 6f 72 20 |Redman.3|3 Manor |
|00000c60| 52 6f 61 64 2c 0a 50 6f | 74 74 65 72 73 20 42 61 |Road,.Po|tters Ba|
|00000c70| 72 2c 0a 48 65 72 74 73 | 2e 0a 45 4e 36 20 31 44 |r,.Herts|..EN6 1D|
|00000c80| 51 0a 0a 49 4e 54 52 4f | 44 55 43 54 49 4f 4e 0a |Q..INTRO|DUCTION.|
|00000c90| 0a 20 20 20 20 20 20 20 | 20 41 52 4d 46 4f 52 54 |. | ARMFORT|
|00000ca0| 48 20 69 73 20 61 20 46 | 4f 52 54 48 20 6c 69 6b |H is a F|ORTH lik|
|00000cb0| 65 20 6c 61 6e 67 75 61 | 67 65 2c 20 6d 61 6b 69 |e langua|ge, maki|
|00000cc0| 6e 67 20 65 78 74 65 6e | 73 69 76 65 20 75 73 65 |ng exten|sive use|
|00000cd0| 20 6f 66 20 52 50 4e 0a | 20 20 20 20 20 20 20 20 | of RPN.| |
|00000ce0| 6e 6f 74 61 74 69 6f 6e | 20 61 6e 64 20 73 74 61 |notation| and sta|
|00000cf0| 63 6b 73 2e 20 20 6d 61 | 6e 79 20 6f 66 20 74 68 |cks. ma|ny of th|
|00000d00| 65 20 63 6f 6d 6d 61 6e | 64 73 20 63 6f 6e 74 61 |e comman|ds conta|
|00000d10| 69 6e 65 64 20 69 6e 20 | 74 68 65 0a 20 20 20 20 |ined in |the. |
|00000d20| 20 20 20 20 6c 61 6e 67 | 75 61 67 65 20 61 72 65 | lang|uage are|
|00000d30| 20 69 64 65 6e 74 69 63 | 61 6c 20 74 6f 20 74 68 | identic|al to th|
|00000d40| 65 69 72 20 46 4f 52 54 | 48 20 63 6f 75 6e 74 65 |eir FORT|H counte|
|00000d50| 72 70 61 72 74 73 2e 20 | 20 48 6f 77 65 76 65 72 |rparts. | However|
|00000d60| 0a 20 20 20 20 20 20 20 | 20 74 68 65 72 65 20 61 |. | there a|
|00000d70| 72 65 20 73 6f 6d 65 20 | 64 69 66 66 65 72 65 6e |re some |differen|
|00000d80| 63 65 73 2e 20 0a 0a 57 | 68 61 74 20 41 52 4d 46 |ces. ..W|hat ARMF|
|00000d90| 4f 52 54 48 20 6f 66 66 | 65 72 73 20 3a 0a 20 20 |ORTH off|ers :. |
|00000da0| 20 20 20 20 20 20 2d 20 | 20 20 20 20 20 20 4d 75 | - | Mu|
|00000db0| 6c 74 69 74 61 73 6b 69 | 6e 67 20 3a 20 20 2d 20 |ltitaski|ng : - |
|00000dc0| 38 20 73 65 70 61 72 61 | 74 65 20 70 72 6f 63 65 |8 separa|te proce|
|00000dd0| 73 73 65 73 2e 0a 20 20 | 20 20 20 20 20 20 20 20 |sses.. | |
|00000de0| 20 20 20 20 20 20 45 61 | 63 68 20 74 61 73 6b 20 | Ea|ch task |
|00000df0| 68 61 73 20 69 74 73 20 | 6f 77 6e 20 64 61 74 61 |has its |own data|
|00000e00| 2c 20 61 6e 64 20 72 65 | 74 75 72 6e 20 73 74 61 |, and re|turn sta|
|00000e10| 63 6b 73 2e 0a 20 20 20 | 20 20 20 20 20 2d 20 20 |cks.. | - |
|00000e20| 20 20 20 20 20 44 79 6e | 61 6d 69 63 20 6d 65 6d | Dyn|amic mem|
|00000e30| 6f 72 79 20 61 6c 6c 6f | 63 61 74 69 6f 6e 20 77 |ory allo|cation w|
|00000e40| 6f 72 64 73 2e 0a 20 20 | 20 20 20 20 20 20 20 20 |ords.. | |
|00000e50| 20 20 20 20 20 20 28 20 | 6d 61 6c 6c 6f 63 20 61 | ( |malloc a|
|00000e60| 6e 64 20 66 72 65 65 20 | 29 2e 0a 20 20 20 20 20 |nd free |).. |
|00000e70| 20 20 20 2d 20 20 20 20 | 20 20 20 46 69 6c 65 20 | - | File |
|00000e80| 68 61 6e 64 6c 69 6e 67 | 0a 20 20 20 20 20 20 20 |handling|. |
|00000e90| 20 2d 20 20 20 20 20 20 | 20 41 6e 20 69 6e 62 75 | - | An inbu|
|00000ea0| 69 6c 74 20 65 64 69 74 | 6f 72 20 77 72 69 74 74 |ilt edit|or writt|
|00000eb0| 65 6e 20 69 6e 20 41 52 | 4d 46 4f 52 54 48 2e 0a |en in AR|MFORTH..|
|00000ec0| 20 20 20 20 20 20 20 20 | 2d 20 20 20 20 20 20 20 | |- |
|00000ed0| 41 20 57 49 4d 50 20 76 | 65 72 73 69 6f 6e 20 28 |A WIMP v|ersion (|
|00000ee0| 20 6e 6f 74 20 69 6e 74 | 65 72 6e 61 6c 6c 79 20 | not int|ernally |
|00000ef0| 6d 75 6c 74 69 74 61 73 | 6b 69 6e 67 29 0a 20 20 |multitas|king). |
|00000f00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 66 6f | | fo|
|00000f10| 72 20 72 61 70 69 64 20 | 70 72 6f 67 72 61 6d 20 |r rapid |program |
|00000f20| 64 65 76 65 6c 6f 70 6d | 65 6e 74 20 61 6e 64 20 |developm|ent and |
|00000f30| 74 65 73 74 69 6e 67 20 | 69 6e 0a 20 20 20 20 20 |testing |in. |
|00000f40| 20 20 20 20 20 20 20 20 | 20 20 20 74 68 65 20 44 | | the D|
|00000f50| 45 53 4b 54 4f 50 20 65 | 6e 76 69 72 6f 6e 6d 65 |ESKTOP e|nvironme|
|00000f60| 6e 74 2e 0a 20 20 20 20 | 20 20 20 20 2d 20 20 20 |nt.. | - |
|00000f70| 20 20 20 20 33 32 20 62 | 69 74 20 73 74 61 63 6b | 32 b|it stack|
|00000f80| 20 61 6e 64 20 64 61 74 | 61 20 6d 61 6e 69 70 75 | and dat|a manipu|
|00000f90| 6c 61 74 69 6f 6e 0a 20 | 20 20 20 20 20 20 20 2d |lation. | -|
|00000fa0| 20 20 20 20 20 20 20 41 | 6e 20 61 73 73 65 6d 62 | A|n assemb|
|00000fb0| 6c 65 72 20 28 20 53 4f | 4f 4e 20 29 0a 0a 09 41 |ler ( SO|ON )...A|
|00000fc0| 52 4d 46 4f 52 54 48 20 | 69 73 20 73 6d 61 6c 6c |RMFORTH |is small|
|00000fd0| 2c 20 6f 6e 6c 79 20 31 | 30 4b 20 28 20 75 6e 73 |, only 1|0K ( uns|
|00000fe0| 71 75 65 65 7a 65 64 20 | 29 20 66 6f 72 20 74 68 |queezed |) for th|
|00000ff0| 65 20 4e 4f 4e 20 57 49 | 4d 50 0a 20 20 20 20 20 |e NON WI|MP. |
|00001000| 20 20 20 76 65 72 73 69 | 6f 6e 20 61 6e 64 20 31 | versi|on and 1|
|00001010| 31 4b 20 66 6f 72 20 74 | 68 65 20 57 49 4d 50 2e |1K for t|he WIMP.|
|00001020| 20 20 49 74 20 69 73 20 | 61 6c 73 6f 20 66 61 73 | It is |also fas|
|00001030| 74 2c 20 74 79 70 69 63 | 61 6c 6c 79 20 36 0a 20 |t, typic|ally 6. |
|00001040| 20 20 20 20 20 20 20 74 | 69 6d 65 73 20 66 61 73 | t|imes fas|
|00001050| 74 65 72 20 74 68 61 6e | 20 42 41 53 49 43 2c 20 |ter than| BASIC, |
|00001060| 61 73 20 61 6e 20 65 78 | 61 6d 70 6c 65 3a 0a 0a |as an ex|ample:..|
|00001070| 20 20 20 20 20 20 20 20 | 4c 61 6e 67 75 61 67 65 | |Language|
|00001080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001090| 65 6d 70 74 79 20 6c 6f | 6f 70 20 74 6f 20 31 20 |empty lo|op to 1 |
|000010a0| 6d 69 6c 6c 69 6f 6e 0a | 20 20 20 20 20 20 20 20 |million.| |
|000010b0| 41 52 4d 46 4f 52 54 48 | 3a 20 20 20 20 20 20 20 |ARMFORTH|: |
|000010c0| 20 20 20 20 20 20 20 20 | 36 20 0a 20 20 20 20 20 | |6 . |
|000010d0| 20 20 20 42 41 53 49 43 | 3a 20 20 20 20 20 20 20 | BASIC|: |
|000010e0| 20 20 20 20 20 20 20 20 | 20 20 20 31 34 20 28 20 | | 14 ( |
|000010f0| 69 6e 74 65 67 65 72 20 | 58 25 29 0a 20 20 20 20 |integer |X%). |
|00001100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001110| 20 20 20 20 20 20 20 20 | 20 20 20 20 33 38 20 28 | | 38 (|
|00001120| 20 75 73 69 6e 67 20 78 | 20 29 0a 20 20 20 20 20 | using x| ). |
|00001130| 20 20 20 27 43 27 20 20 | 20 20 20 20 20 20 20 20 | 'C' | |
|00001140| 20 20 20 20 20 20 20 20 | 20 20 20 32 20 28 75 73 | | 2 (us|
|00001150| 69 6e 67 20 69 6e 74 65 | 67 65 72 29 0a 20 20 20 |ing inte|ger). |
|00001160| 20 20 20 20 20 0a 20 20 | 20 20 20 20 20 20 48 6f | . | Ho|
|00001170| 77 65 76 65 72 20 74 68 | 65 20 73 69 7a 65 20 6f |wever th|e size o|
|00001180| 66 20 74 68 65 20 63 6f | 64 65 20 69 73 20 61 6c |f the co|de is al|
|00001190| 73 6f 20 69 6d 70 6f 72 | 74 61 6e 74 2c 20 66 6f |so impor|tant, fo|
|000011a0| 72 20 74 68 65 20 27 43 | 27 20 61 0a 20 20 20 20 |r the 'C|' a. |
|000011b0| 20 20 20 20 6d 65 72 65 | 20 34 38 4b 2c 20 66 6f | mere| 48K, fo|
|000011c0| 72 20 42 41 53 49 43 20 | 61 62 6f 75 74 20 34 30 |r BASIC |about 40|
|000011d0| 62 79 74 65 73 20 28 20 | 34 30 4b 20 63 6f 75 6e |bytes ( |40K coun|
|000011e0| 74 69 6e 67 20 52 4f 4d | 20 29 20 66 6f 72 0a 20 |ting ROM| ) for. |
|000011f0| 20 20 20 20 20 20 20 41 | 52 4d 46 4f 52 54 48 2c | A|RMFORTH,|
|00001200| 20 32 34 20 62 79 74 65 | 73 20 28 20 31 30 4b 20 | 24 byte|s ( 10K |
|00001210| 69 6e 63 6c 75 64 69 6e | 67 20 4b 45 52 4e 45 4c |includin|g KERNEL|
|00001220| 20 29 2e 20 0a 0a 44 41 | 54 41 20 54 59 50 45 53 | ). ..DA|TA TYPES|
|00001230| 0a 0a 20 20 41 52 4d 46 | 4f 52 54 48 20 68 61 73 |.. ARMF|ORTH has|
|00001240| 20 6f 6e 6c 79 20 68 61 | 73 20 74 77 6f 20 72 65 | only ha|s two re|
|00001250| 61 6c 20 64 61 74 61 20 | 74 79 70 65 73 2c 20 62 |al data |types, b|
|00001260| 79 74 65 73 20 61 6e 64 | 20 77 6f 72 64 73 2c 20 |ytes and| words, |
|00001270| 61 6e 79 20 6f 74 68 65 | 72 73 0a 61 72 65 20 63 |any othe|rs.are c|
|00001280| 72 65 61 74 65 64 20 61 | 73 20 74 68 65 79 20 61 |reated a|s they a|
|00001290| 72 65 20 6e 65 65 64 65 | 64 20 61 6e 64 20 6d 61 |re neede|d and ma|
|000012a0| 79 20 62 65 20 61 63 63 | 65 73 73 65 64 20 62 79 |y be acc|essed by|
|000012b0| 20 63 6f 6d 62 69 6e 69 | 6e 67 20 74 68 65 20 74 | combini|ng the t|
|000012c0| 77 6f 0a 73 75 70 70 6f | 72 74 65 64 20 74 79 70 |wo.suppo|rted typ|
|000012d0| 65 73 2e 20 0a 0a 20 20 | 41 6c 6c 20 73 74 61 63 |es. .. |All stac|
|000012e0| 6b 20 65 6e 74 72 69 65 | 73 20 61 72 65 20 33 32 |k entrie|s are 32|
|000012f0| 20 62 69 74 73 20 77 69 | 64 65 20 61 6e 64 20 6d | bits wi|de and m|
|00001300| 61 79 20 62 65 20 75 73 | 65 64 20 69 6e 20 61 6e |ay be us|ed in an|
|00001310| 79 20 66 61 73 68 69 6f | 6e 20 74 68 65 0a 75 73 |y fashio|n the.us|
|00001320| 65 72 20 72 65 71 75 69 | 72 65 73 2c 20 74 68 65 |er requi|res, the|
|00001330| 20 6f 6e 6c 79 20 63 6f | 6e 64 69 74 69 6f 6e 20 | only co|ndition |
|00001340| 69 73 20 74 68 61 74 20 | 45 56 45 52 59 20 73 74 |is that |EVERY st|
|00001350| 61 63 6b 20 65 6e 74 72 | 79 20 62 65 20 57 4f 52 |ack entr|y be WOR|
|00001360| 44 0a 61 6c 69 67 6e 65 | 64 20 61 66 74 65 72 20 |D.aligne|d after |
|00001370| 61 6e 79 20 63 72 65 61 | 74 65 64 20 73 74 72 75 |any crea|ted stru|
|00001380| 63 74 75 72 65 20 68 61 | 73 20 62 65 65 6e 20 70 |cture ha|s been p|
|00001390| 75 73 68 65 64 20 6f 6e | 74 6f 20 69 74 2e 20 20 |ushed on|to it. |
|000013a0| 54 68 65 72 65 20 61 72 | 65 0a 62 75 69 6c 74 20 |There ar|e.built |
|000013b0| 69 6e 20 73 74 72 69 6e | 67 20 70 72 69 6e 74 69 |in strin|g printi|
|000013c0| 6e 67 20 73 75 70 70 6f | 72 74 20 61 6e 64 20 63 |ng suppo|rt and c|
|000013d0| 6f 6d 70 69 6c 65 20 63 | 6f 6d 6d 61 6e 64 73 20 |ompile c|ommands |
|000013e0| 62 75 74 20 73 74 72 69 | 6e 67 0a 6d 61 6e 69 70 |but stri|ng.manip|
|000013f0| 75 6c 61 74 69 6f 6e 20 | 72 6f 75 74 69 6e 65 73 |ulation |routines|
|00001400| 20 73 75 63 68 20 61 73 | 20 73 74 72 63 70 79 20 | such as| strcpy |
|00001410| 61 72 65 20 6e 6f 74 2c | 20 74 68 65 79 20 61 72 |are not,| they ar|
|00001420| 65 20 70 72 6f 76 69 64 | 65 64 20 69 6e 20 74 68 |e provid|ed in th|
|00001430| 65 0a 73 74 72 69 6e 67 | 6c 69 62 20 66 69 6c 65 |e.string|lib file|
|00001440| 20 74 68 6f 75 67 68 2c | 20 61 6e 64 20 61 6e 79 | though,| and any|
|00001450| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 73 70 65 63 | additio|nal spec|
|00001460| 69 61 6c 20 73 74 72 75 | 63 74 75 72 65 20 68 61 |ial stru|cture ha|
|00001470| 6e 64 6c 69 6e 67 0a 72 | 6f 75 74 69 6e 65 73 20 |ndling.r|outines |
|00001480| 77 6f 75 6c 64 20 68 61 | 76 65 20 74 6f 20 62 65 |would ha|ve to be|
|00001490| 20 77 72 69 74 74 65 6e | 2e 20 20 54 68 65 20 66 | written|. The f|
|000014a0| 6f 72 6d 61 74 20 6f 66 | 20 61 6e 20 41 52 4d 46 |ormat of| an ARMF|
|000014b0| 4f 52 54 48 20 73 74 72 | 69 6e 67 20 69 73 0a 61 |ORTH str|ing is.a|
|000014c0| 20 6c 65 6e 67 74 68 20 | 61 73 20 74 68 65 20 74 | length |as the t|
|000014d0| 6f 70 20 73 74 61 63 6b | 20 65 6e 74 72 79 20 77 |op stack| entry w|
|000014e0| 69 74 68 20 74 68 65 20 | 73 74 72 69 6e 67 20 63 |ith the |string c|
|000014f0| 6f 6e 74 61 69 6e 65 64 | 20 6f 6e 20 74 68 65 20 |ontained| on the |
|00001500| 73 74 61 63 6b 0a 69 6e | 20 34 20 62 79 74 65 20 |stack.in| 4 byte |
|00001510| 63 68 75 6e 6b 73 20 73 | 74 61 72 74 69 6e 67 20 |chunks s|tarting |
|00001520| 77 69 74 68 20 74 68 65 | 20 66 69 72 73 74 20 6c |with the| first l|
|00001530| 65 74 74 65 72 2e 20 0a | 0a 46 49 4c 45 20 48 41 |etter. .|.FILE HA|
|00001540| 4e 44 4c 49 4e 47 0a 0a | 20 20 41 52 4d 46 4f 52 |NDLING..| ARMFOR|
|00001550| 54 48 20 68 61 73 20 52 | 49 53 43 4f 53 20 66 69 |TH has R|ISCOS fi|
|00001560| 6c 65 20 68 61 6e 64 6c | 69 6e 67 20 61 6e 64 20 |le handl|ing and |
|00001570| 75 73 65 73 20 63 6f 6d | 6d 61 6e 64 73 20 74 68 |uses com|mands th|
|00001580| 61 74 20 61 72 65 20 76 | 65 72 79 0a 73 69 6d 69 |at are v|ery.simi|
|00001590| 6c 61 72 20 74 6f 20 42 | 41 53 49 43 2e 20 20 54 |lar to B|ASIC. T|
|000015a0| 68 65 73 65 20 61 72 65 | 20 4c 4f 41 44 2c 20 4f |hese are| LOAD, O|
|000015b0| 50 45 4e 2c 20 43 4c 4f | 53 45 2c 20 50 54 52 2c |PEN, CLO|SE, PTR,|
|000015c0| 20 45 58 54 2c 20 45 58 | 54 23 2c 20 45 4f 46 20 | EXT, EX|T#, EOF |
|000015d0| 61 6e 64 0a 43 4c 4f 53 | 45 20 28 20 54 68 65 73 |and.CLOS|E ( Thes|
|000015e0| 65 20 63 6f 6d 6d 61 6e | 64 73 20 61 72 65 20 63 |e comman|ds are c|
|000015f0| 6f 76 65 72 65 64 20 69 | 6e 20 6d 6f 72 65 20 64 |overed i|n more d|
|00001600| 65 74 61 69 6c 20 6c 61 | 74 65 72 20 6f 6e 20 69 |etail la|ter on i|
|00001610| 6e 20 74 68 69 73 0a 6d | 61 6e 75 61 6c 20 29 2e |n this.m|anual ).|
|00001620| 20 0a 0a 20 20 41 52 4d | 46 4f 52 54 48 20 66 69 | .. ARM|FORTH fi|
|00001630| 6c 69 6e 67 20 63 6f 6d | 6d 61 6e 64 73 20 28 20 |ling com|mands ( |
|00001640| 6f 70 65 6e 20 61 6e 64 | 20 6c 6f 61 64 20 29 20 |open and| load ) |
|00001650| 65 78 70 65 63 74 20 61 | 20 73 74 72 69 6e 67 20 |expect a| string |
|00001660| 6f 6e 20 74 68 65 0a 73 | 74 61 63 6b 20 77 68 65 |on the.s|tack whe|
|00001670| 6e 20 74 68 65 79 20 65 | 78 65 63 75 74 65 2c 20 |n they e|xecute, |
|00001680| 74 68 65 20 72 65 6d 61 | 69 6e 64 65 72 20 65 78 |the rema|inder ex|
|00001690| 70 65 63 74 20 61 20 66 | 69 6c 65 20 68 61 6e 64 |pect a f|ile hand|
|000016a0| 6c 65 2e 20 0a 0a 20 20 | 41 52 4d 46 4f 52 54 48 |le. .. |ARMFORTH|
|000016b0| 20 68 61 73 20 61 20 66 | 69 6c 65 20 73 74 61 63 | has a f|ile stac|
|000016c0| 6b 20 74 68 61 74 20 6d | 61 79 20 62 65 20 6e 65 |k that m|ay be ne|
|000016d0| 73 74 65 64 20 37 20 64 | 65 65 70 2c 20 74 68 69 |sted 7 d|eep, thi|
|000016e0| 73 20 6d 65 61 6e 73 20 | 74 68 61 74 0a 77 68 65 |s means |that.whe|
|000016f0| 6e 20 6c 6f 61 64 69 6e | 67 20 61 20 66 69 6c 65 |n loadin|g a file|
|00001700| 20 69 74 20 63 6f 75 6c | 64 20 62 65 20 73 70 6c | it coul|d be spl|
|00001710| 69 74 20 69 6e 74 6f 20 | 66 75 6e 63 74 69 6f 6e |it into |function|
|00001720| 61 6c 20 6c 69 62 72 61 | 72 69 65 73 20 28 20 6c |al libra|ries ( l|
|00001730| 69 6b 65 0a 74 68 65 20 | 65 64 69 74 6f 72 20 77 |ike.the |editor w|
|00001740| 69 74 68 20 73 74 72 69 | 6e 67 6c 69 62 20 29 2e |ith stri|nglib ).|
|00001750| 20 20 49 66 20 6d 6f 72 | 65 20 74 68 61 6e 20 37 | If mor|e than 7|
|00001760| 20 66 69 6c 65 73 20 61 | 72 65 20 6f 70 65 6e 65 | files a|re opene|
|00001770| 64 20 61 74 20 6f 6e 65 | 0a 74 69 6d 65 20 41 52 |d at one|.time AR|
|00001780| 4d 46 4f 52 54 48 20 77 | 69 6c 6c 20 61 62 6f 72 |MFORTH w|ill abor|
|00001790| 74 20 61 6e 64 20 69 74 | 20 69 73 20 61 20 67 6f |t and it| is a go|
|000017a0| 6f 64 20 69 64 65 61 20 | 74 6f 20 72 65 73 74 61 |od idea |to resta|
|000017b0| 72 74 20 61 6e 64 20 72 | 65 64 75 63 65 20 74 68 |rt and r|educe th|
|000017c0| 65 0a 66 69 6c 65 20 64 | 65 70 74 68 2e 20 0a 0a |e.file d|epth. ..|
|000017d0| 0a 4d 55 4c 54 49 54 41 | 53 4b 49 4e 47 0a 0a 20 |.MULTITA|SKING.. |
|000017e0| 20 49 74 20 69 73 20 69 | 6d 70 6f 72 74 20 74 6f | It is i|mport to|
|000017f0| 20 61 70 70 72 65 63 69 | 61 74 65 20 74 68 61 74 | appreci|ate that|
|00001800| 20 77 68 65 6e 20 6d 75 | 6c 74 69 74 61 73 6b 69 | when mu|ltitaski|
|00001810| 6e 67 20 74 68 65 20 74 | 61 73 6b 73 20 68 61 76 |ng the t|asks hav|
|00001820| 65 0a 73 65 70 61 72 61 | 74 65 20 64 61 74 61 20 |e.separa|te data |
|00001830| 61 6e 64 20 73 74 61 63 | 6b 20 73 70 61 63 65 73 |and stac|k spaces|
|00001840| 20 74 68 65 79 20 73 68 | 61 72 65 20 74 68 65 20 | they sh|are the |
|00001850| 73 61 6d 65 20 64 69 63 | 74 69 6f 6e 61 72 79 20 |same dic|tionary |
|00001860| 73 70 61 63 65 2e 20 0a | 54 68 69 73 20 6d 65 61 |space. .|This mea|
|00001870| 6e 73 20 74 68 61 74 20 | 61 6e 79 20 74 61 73 6b |ns that |any task|
|00001880| 20 77 68 69 63 68 20 6d | 6f 64 69 66 69 65 64 20 | which m|odified |
|00001890| 74 68 65 20 64 69 63 74 | 69 6f 6e 61 72 79 20 63 |the dict|ionary c|
|000018a0| 6f 75 6c 64 20 63 72 61 | 73 68 20 74 68 65 0a 6f |ould cra|sh the.o|
|000018b0| 74 68 65 72 20 74 61 73 | 6b 73 2e 20 0a 0a 20 20 |ther tas|ks. .. |
|000018c0| 54 68 69 73 20 69 73 20 | 6e 6f 74 20 61 6e 20 75 |This is |not an u|
|000018d0| 6e 61 63 63 65 70 74 61 | 62 6c 65 20 72 69 73 6b |naccepta|ble risk|
|000018e0| 20 62 65 63 61 75 73 65 | 20 74 68 65 20 61 64 76 | because| the adv|
|000018f0| 61 6e 74 61 67 65 73 20 | 66 61 72 20 73 75 72 70 |antages |far surp|
|00001900| 61 73 73 0a 74 68 69 73 | 20 70 72 6f 62 6c 65 6d |ass.this| problem|
|00001910| 2c 20 66 6f 72 20 65 78 | 61 6d 70 6c 65 20 6d 75 |, for ex|ample mu|
|00001920| 6c 74 69 70 6c 65 20 63 | 6f 70 69 65 73 20 6f 66 |ltiple c|opies of|
|00001930| 20 74 68 65 20 73 61 6d | 65 20 63 6f 64 65 20 63 | the sam|e code c|
|00001940| 6f 75 6c 64 20 62 65 0a | 72 75 6e 6e 69 6e 67 2c |ould be.|running,|
|00001950| 20 77 69 74 68 20 64 69 | 66 66 65 72 65 6e 74 20 | with di|fferent |
|00001960| 64 61 74 61 2e 20 20 50 | 72 6f 63 65 73 73 65 73 |data. P|rocesses|
|00001970| 20 6d 61 79 20 63 6f 6d | 6d 75 6e 69 63 61 74 65 | may com|municate|
|00001980| 20 77 69 74 68 20 65 61 | 63 68 20 6f 74 68 65 72 | with ea|ch other|
|00001990| 0a 76 69 61 20 63 6f 6d | 6d 6f 6e 20 64 61 74 61 |.via com|mon data|
|000019a0| 20 69 6e 20 74 68 65 20 | 64 69 63 74 69 6f 6e 61 | in the |dictiona|
|000019b0| 72 79 20 28 20 73 65 6d | 69 70 68 6f 72 65 73 20 |ry ( sem|iphores |
|000019c0| 6d 61 79 20 62 65 20 69 | 6d 70 6c 65 6d 65 6e 74 |may be i|mplement|
|000019d0| 65 64 20 29 2c 0a 6f 62 | 76 69 6f 75 73 6c 79 20 |ed ),.ob|viously |
|000019e0| 74 68 65 20 73 79 73 74 | 65 6d 20 63 6f 75 6c 64 |the syst|em could|
|000019f0| 20 62 65 20 61 62 75 73 | 65 64 20 62 79 20 66 6f | be abus|ed by fo|
|00001a00| 72 6b 69 6e 67 20 61 20 | 70 72 6f 63 65 73 73 20 |rking a |process |
|00001a10| 74 68 61 74 20 77 6f 75 | 6c 64 0a 63 6f 6d 70 69 |that wou|ld.compi|
|00001a20| 6c 65 20 61 20 66 69 6c | 65 20 69 6e 74 6f 20 74 |le a fil|e into t|
|00001a30| 68 65 20 62 61 63 6b 67 | 72 6f 75 6e 64 20 77 69 |he backg|round wi|
|00001a40| 74 68 20 64 69 73 61 73 | 74 72 6f 75 73 20 72 65 |th disas|trous re|
|00001a50| 73 75 6c 74 73 2e 20 0a | 0a 20 20 46 69 6e 61 6c |sults. .|. Final|
|00001a60| 6c 79 20 61 6c 6c 20 74 | 61 73 6b 73 20 68 61 76 |ly all t|asks hav|
|00001a70| 65 20 65 71 75 61 6c 20 | 70 72 69 6f 72 69 74 79 |e equal |priority|
|00001a80| 20 61 6e 64 20 61 72 65 | 20 72 75 6e 20 69 6e 20 | and are| run in |
|00001a90| 61 20 72 6f 75 6e 64 20 | 72 6f 62 69 6e 0a 74 79 |a round |robin.ty|
|00001aa0| 70 65 20 74 61 73 6b 20 | 71 75 65 75 65 20 61 6e |pe task |queue an|
|00001ab0| 64 20 61 72 65 20 73 77 | 61 70 70 65 64 20 65 76 |d are sw|apped ev|
|00001ac0| 65 72 79 20 31 30 6d 73 | 20 28 20 6f 72 20 61 73 |ery 10ms| ( or as|
|00001ad0| 20 63 6c 6f 73 65 20 74 | 6f 20 74 68 61 74 0a 69 | close t|o that.i|
|00001ae0| 6e 74 65 72 76 61 6c 20 | 61 73 20 70 6f 73 73 69 |nterval |as possi|
|00001af0| 62 6c 65 20 29 20 2d 20 | 49 74 20 73 68 6f 75 6c |ble ) - |It shoul|
|00001b00| 64 20 62 65 20 6e 6f 74 | 65 64 20 74 68 61 74 20 |d be not|ed that |
|00001b10| 61 73 73 65 6d 62 65 72 | 20 63 6f 64 65 20 77 69 |assember| code wi|
|00001b20| 6c 6c 20 4e 4f 54 0a 6d | 75 6c 74 69 74 61 73 6b |ll NOT.m|ultitask|
|00001b30| 20 69 6e 20 66 6f 72 74 | 68 20 75 6e 74 69 6c 20 | in fort|h until |
|00001b40| 69 74 20 65 78 69 74 73 | 20 62 61 63 6b 20 69 6e |it exits| back in|
|00001b50| 74 6f 20 74 68 65 20 41 | 52 4d 46 4f 52 54 48 20 |to the A|RMFORTH |
|00001b60| 6b 65 72 6e 65 6c 20 28 | 20 74 68 69 73 0a 69 73 |kernel (| this.is|
|00001b70| 20 68 6f 77 20 73 65 6d | 61 70 68 6f 72 65 73 20 | how sem|aphores |
|00001b80| 6d 61 79 20 62 65 20 69 | 6d 70 6c 65 6d 65 6e 74 |may be i|mplement|
|00001b90| 65 64 20 29 2e 20 0a 0a | 0a 46 4c 4f 57 20 43 4f |ed ). ..|.FLOW CO|
|00001ba0| 4e 54 52 4f 4c 0a 0a 20 | 20 54 68 69 73 20 73 65 |NTROL.. | This se|
|00001bb0| 63 74 69 6f 6e 20 77 69 | 6c 6c 20 64 65 74 61 69 |ction wi|ll detai|
|00001bc0| 6c 20 61 6c 6c 20 74 68 | 65 20 66 6c 6f 77 20 63 |l all th|e flow c|
|00001bd0| 6f 6e 74 72 6f 6c 20 63 | 6f 6d 6d 61 6e 64 73 20 |ontrol c|ommands |
|00001be0| 75 73 65 64 20 69 6e 0a | 41 52 4d 46 4f 52 54 48 |used in.|ARMFORTH|
|00001bf0| 2e 20 20 49 6e 20 74 68 | 65 20 65 78 61 6d 70 6c |. In th|e exampl|
|00001c00| 65 73 20 61 20 62 72 69 | 65 66 20 64 65 73 63 72 |es a bri|ef descr|
|00001c10| 69 70 74 69 6f 6e 20 6f | 66 20 77 68 61 74 20 74 |iption o|f what t|
|00001c20| 68 65 20 65 78 61 6d 70 | 6c 65 20 77 69 6c 6c 0a |he examp|le will.|
|00001c30| 64 6f 20 77 69 6c 6c 20 | 62 65 20 67 69 76 65 6e |do will |be given|
|00001c40| 20 61 6e 64 20 74 68 65 | 6e 20 74 68 65 20 61 63 | and the|n the ac|
|00001c50| 74 75 61 6c 20 63 6f 64 | 65 2e 20 20 54 79 70 65 |tual cod|e. Type|
|00001c60| 20 65 78 61 63 74 6c 79 | 20 77 68 61 74 20 79 6f | exactly| what yo|
|00001c70| 75 20 73 65 65 0a 77 72 | 69 74 74 65 6e 2c 20 61 |u see.wr|itten, a|
|00001c80| 20 3c 52 45 54 55 52 4e | 3e 20 6d 65 61 6e 73 20 | <RETURN|> means |
|00001c90| 70 72 65 73 73 20 74 68 | 65 20 52 45 54 55 52 4e |press th|e RETURN|
|00001ca0| 20 6b 65 79 2c 20 65 76 | 65 72 79 74 68 69 6e 67 | key, ev|erything|
|00001cb0| 20 61 66 74 65 72 20 74 | 68 65 0a 3c 52 45 54 55 | after t|he.<RETU|
|00001cc0| 52 4e 3e 20 75 70 20 74 | 6f 20 74 68 65 20 4f 4b |RN> up t|o the OK|
|00001cd0| 20 73 68 6f 77 73 20 77 | 68 61 74 20 41 52 4d 46 | shows w|hat ARMF|
|00001ce0| 4f 52 54 48 20 77 69 6c | 6c 20 70 72 6f 64 75 63 |ORTH wil|l produc|
|00001cf0| 65 2c 20 75 6e 6c 65 73 | 73 0a 73 75 72 72 6f 75 |e, unles|s.surrou|
|00001d00| 6e 64 65 64 20 62 79 20 | 5b 5b 20 5d 5d 20 77 68 |nded by |[[ ]] wh|
|00001d10| 69 63 68 20 6d 65 61 6e | 73 20 74 79 70 65 20 74 |ich mean|s type t|
|00001d20| 68 65 20 63 6f 6e 74 65 | 6e 74 73 2e 20 0a 0a 42 |he conte|nts. ..B|
|00001d30| 45 47 49 4e 2e 2e 45 4e | 44 0a 20 20 54 68 69 73 |EGIN..EN|D. This|
|00001d40| 20 69 73 20 74 68 65 20 | 66 61 73 74 65 73 74 20 | is the |fastest |
|00001d50| 61 6e 64 20 6d 6f 73 74 | 20 70 72 69 6d 69 74 69 |and most| primiti|
|00001d60| 76 65 20 6f 66 20 41 52 | 4d 46 4f 52 54 48 20 6c |ve of AR|MFORTH l|
|00001d70| 6f 6f 70 20 63 6f 6e 73 | 74 72 75 63 74 73 2e 20 |oop cons|tructs. |
|00001d80| 0a 54 68 65 20 63 6f 64 | 65 20 62 65 74 77 65 65 |.The cod|e betwee|
|00001d90| 6e 20 74 68 65 20 42 45 | 47 49 4e 20 61 6e 64 20 |n the BE|GIN and |
|00001da0| 74 68 65 20 45 4e 44 20 | 77 69 6c 6c 20 62 65 20 |the END |will be |
|00001db0| 65 78 65 63 75 74 65 64 | 20 69 66 20 74 68 65 20 |executed| if the |
|00001dc0| 74 6f 70 20 73 74 61 63 | 6b 0a 65 6e 74 72 79 20 |top stac|k.entry |
|00001dd0| 69 73 20 7a 65 72 6f 20 | 77 68 65 6e 20 74 68 65 |is zero |when the|
|00001de0| 20 45 4e 44 20 69 73 20 | 72 65 61 63 68 65 64 2c | END is |reached,|
|00001df0| 20 61 74 20 77 68 69 63 | 68 20 70 6f 69 6e 74 20 | at whic|h point |
|00001e00| 70 72 6f 67 72 61 6d 20 | 65 78 65 63 75 74 69 6f |program |executio|
|00001e10| 6e 0a 77 69 6c 6c 20 63 | 6f 6e 74 69 6e 75 65 20 |n.will c|ontinue |
|00001e20| 77 69 74 68 20 74 68 65 | 20 63 6f 64 65 20 66 6f |with the| code fo|
|00001e30| 6c 6c 6f 77 69 6e 67 20 | 74 68 65 20 45 4e 44 2e |llowing |the END.|
|00001e40| 20 20 45 78 61 6d 70 6c | 65 3a 20 77 61 69 74 20 | Exampl|e: wait |
|00001e50| 66 6f 72 20 74 68 65 0a | 75 73 65 72 20 74 6f 20 |for the.|user to |
|00001e60| 70 72 65 73 73 20 73 70 | 61 63 65 20 74 68 65 6e |press sp|ace then|
|00001e70| 20 70 72 69 6e 74 20 44 | 4f 4e 45 2e 20 0a 20 20 | print D|ONE. . |
|00001e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3a 77 | | :w|
|00001e90| 61 69 74 20 62 65 67 69 | 6e 20 67 65 74 20 61 73 |ait begi|n get as|
|00001ea0| 70 61 63 65 20 3d 20 45 | 4e 44 20 5b 20 44 4f 4e |pace = E|ND [ DON|
|00001eb0| 45 20 5d 20 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |E ] ;. | |
|00001ec0| 20 20 20 20 20 20 77 61 | 69 74 20 3c 52 45 54 55 | wa|it <RETU|
|00001ed0| 52 4e 3e 20 5b 5b 41 20 | 42 20 43 20 3c 53 50 41 |RN> [[A |B C <SPA|
|00001ee0| 43 45 3e 20 5d 5d 20 4f | 4b 0a 0a 44 4f 20 2e 2e |CE> ]] O|K..DO ..|
|00001ef0| 2e 20 4c 4f 4f 50 0a 20 | 20 54 68 65 20 6d 6f 73 |. LOOP. | The mos|
|00001f00| 74 20 62 61 73 69 63 20 | 6f 66 20 41 52 4d 46 4f |t basic |of ARMFO|
|00001f10| 52 54 48 20 6c 6f 6f 70 | 20 63 6f 6d 6d 61 6e 64 |RTH loop| command|
|00001f20| 73 2e 20 20 49 74 20 74 | 61 6b 65 73 20 32 20 73 |s. It t|akes 2 s|
|00001f30| 74 61 63 6b 0a 65 6e 74 | 72 69 65 73 20 61 6e 64 |tack.ent|ries and|
|00001f40| 20 73 74 61 72 74 69 6e | 67 20 61 74 20 74 68 65 | startin|g at the|
|00001f50| 20 74 6f 70 20 73 74 61 | 63 6b 20 65 6e 74 72 79 | top sta|ck entry|
|00001f60| 20 63 6f 75 6e 74 20 75 | 70 20 74 6f 20 74 68 65 | count u|p to the|
|00001f70| 20 73 65 63 6f 6e 64 20 | 73 74 61 63 6b 0a 65 6e | second |stack.en|
|00001f80| 74 72 79 2e 20 20 54 68 | 65 20 6c 6f 6f 70 20 77 |try. Th|e loop w|
|00001f90| 69 6c 6c 20 61 6c 77 61 | 79 73 20 65 78 65 63 75 |ill alwa|ys execu|
|00001fa0| 74 65 20 61 74 20 6c 65 | 61 73 74 20 6f 6e 63 65 |te at le|ast once|
|00001fb0| 2e 20 20 54 68 65 20 69 | 73 20 6e 6f 20 72 65 61 |. The i|s no rea|
|00001fc0| 6c 20 6c 6f 6f 70 0a 76 | 61 72 69 61 62 6c 65 20 |l loop.v|ariable |
|00001fd0| 62 75 74 20 61 20 6c 6f | 6f 70 20 76 61 72 69 61 |but a lo|op varia|
|00001fe0| 62 6c 65 20 6d 61 79 20 | 62 65 20 61 63 63 65 73 |ble may |be acces|
|00001ff0| 73 65 64 20 62 79 20 74 | 68 65 20 69 6e 64 65 78 |sed by t|he index|
|00002000| 20 69 2c 6a 20 6f 72 20 | 6b 0a 64 65 70 65 6e 64 | i,j or |k.depend|
|00002010| 69 6e 67 20 75 70 6f 6e | 20 74 68 65 20 64 65 70 |ing upon| the dep|
|00002020| 74 68 20 6f 66 20 6e 65 | 73 74 69 6e 67 20 28 20 |th of ne|sting ( |
|00002030| 69 20 69 73 20 66 69 72 | 73 74 20 29 2e 20 20 54 |i is fir|st ). T|
|00002040| 68 65 20 61 64 64 69 74 | 69 6f 6e 20 69 73 0a 6d |he addit|ion is.m|
|00002050| 61 64 65 20 42 45 46 4f | 52 45 20 63 6f 6d 70 61 |ade BEFO|RE compa|
|00002060| 72 69 73 6f 6e 20 6f 66 | 20 74 68 65 20 74 65 72 |rison of| the ter|
|00002070| 6d 69 6e 61 74 69 6e 67 | 20 63 6f 6e 64 69 74 69 |minating| conditi|
|00002080| 6f 6e 2e 20 20 45 78 61 | 6d 70 6c 65 3a 20 74 6f |on. Exa|mple: to|
|00002090| 20 63 6f 75 6e 74 0a 66 | 72 6f 6d 20 30 20 74 6f | count.f|rom 0 to|
|000020a0| 20 39 20 64 69 73 70 6c | 61 79 69 6e 67 20 65 61 | 9 displ|aying ea|
|000020b0| 63 68 20 6e 75 6d 62 65 | 72 0a 20 20 20 20 20 20 |ch numbe|r. |
|000020c0| 20 20 20 20 20 20 20 20 | 20 20 3a 20 74 65 73 74 | | : test|
|000020d0| 20 63 72 20 31 30 20 30 | 20 64 6f 20 69 20 2e 20 | cr 10 0| do i . |
|000020e0| 6c 6f 6f 70 20 3b 0a 20 | 20 20 20 20 20 20 20 20 |loop ;. | |
|000020f0| 20 20 20 20 20 20 20 74 | 65 73 74 20 3c 52 45 54 | t|est <RET|
|00002100| 55 52 4e 3e 0a 20 20 20 | 20 20 20 20 20 20 20 20 |URN>. | |
|00002110| 20 20 20 20 20 30 20 31 | 20 32 20 33 20 34 20 35 | 0 1| 2 3 4 5|
|00002120| 20 36 20 37 20 38 20 39 | 20 4f 4b 0a 0a 0a 44 4f | 6 7 8 9| OK...DO|
|00002130| 20 2e 2e 2e 20 2b 4c 4f | 4f 50 0a 20 20 73 69 6d | ... +LO|OP. sim|
|00002140| 69 6c 61 72 20 74 6f 20 | 44 4f 2e 2e 4c 4f 4f 50 |ilar to |DO..LOOP|
|00002150| 20 62 75 74 20 74 68 65 | 20 73 74 61 63 6b 20 65 | but the| stack e|
|00002160| 6e 74 72 79 20 62 65 66 | 6f 72 65 20 74 68 65 20 |ntry bef|ore the |
|00002170| 65 78 65 63 75 74 69 6f | 6e 20 6f 66 20 2b 4c 4f |executio|n of +LO|
|00002180| 4f 50 0a 69 73 20 74 68 | 65 20 69 6e 63 72 65 6d |OP.is th|e increm|
|00002190| 65 6e 74 2e 0a 45 78 61 | 6d 70 6c 65 3a 20 74 6f |ent..Exa|mple: to|
|000021a0| 20 63 6f 75 6e 74 20 66 | 72 6f 6d 20 30 20 74 6f | count f|rom 0 to|
|000021b0| 20 38 20 69 6e 20 32 27 | 73 0a 20 20 20 20 20 20 | 8 in 2'|s. |
|000021c0| 20 20 20 20 20 20 20 20 | 20 20 3a 20 74 65 73 74 | | : test|
|000021d0| 20 63 72 20 31 30 20 30 | 20 64 6f 20 69 20 2e 20 | cr 10 0| do i . |
|000021e0| 32 20 2b 6c 6f 6f 70 20 | 3b 0a 20 20 20 20 20 20 |2 +loop |;. |
|000021f0| 20 20 20 20 20 20 20 20 | 20 20 74 65 73 74 20 3c | | test <|
|00002200| 52 45 54 55 52 4e 3e 0a | 20 20 20 20 20 20 20 20 |RETURN>.| |
|00002210| 20 20 20 20 20 20 20 20 | 30 20 20 32 20 20 34 20 | |0 2 4 |
|00002220| 20 36 20 20 38 20 20 4f | 4b 0a 0a 4c 45 41 56 45 | 6 8 O|K..LEAVE|
|00002230| 0a 20 20 54 68 69 73 20 | 63 6f 6d 6d 61 6e 64 20 |. This |command |
|00002240| 77 69 6c 6c 20 63 61 75 | 73 65 20 74 68 65 20 63 |will cau|se the c|
|00002250| 75 72 72 65 6e 74 6c 79 | 20 65 78 65 63 75 74 69 |urrently| executi|
|00002260| 6e 67 20 64 6f 2e 2e 6c | 6f 6f 70 20 6f 72 0a 64 |ng do..l|oop or.d|
|00002270| 6f 2e 2e 2b 6c 6f 6f 70 | 20 74 6f 20 74 65 72 6d |o..+loop| to term|
|00002280| 69 6e 61 74 65 20 28 20 | 69 74 20 73 65 74 20 74 |inate ( |it set t|
|00002290| 68 65 20 63 75 72 72 65 | 6e 74 20 63 6f 75 6e 74 |he curre|nt count|
|000022a0| 20 74 6f 20 62 65 20 74 | 68 65 20 66 69 6e 69 73 | to be t|he finis|
|000022b0| 68 69 6e 67 0a 76 61 6c | 75 65 20 29 2e 20 20 49 |hing.val|ue ). I|
|000022c0| 74 20 77 69 6c 6c 20 6e | 6f 74 20 70 72 65 76 65 |t will n|ot preve|
|000022d0| 6e 74 20 61 20 6c 6f 6f | 70 20 66 72 6f 6d 20 65 |nt a loo|p from e|
|000022e0| 78 65 63 75 74 69 6e 67 | 20 6c 65 73 73 20 74 68 |xecuting| less th|
|000022f0| 61 6e 20 6f 6e 63 65 2e | 20 0a 0a 49 46 2e 2e 54 |an once.| ..IF..T|
|00002300| 48 45 4e 0a 20 20 50 72 | 6f 76 69 64 65 73 20 61 |HEN. Pr|ovides a|
|00002310| 20 73 69 6d 70 6c 65 20 | 77 61 79 20 74 6f 20 63 | simple |way to c|
|00002320| 6f 6e 64 69 74 69 6f 6e | 61 6c 6c 79 20 65 78 65 |ondition|ally exe|
|00002330| 63 75 74 65 20 63 6f 64 | 65 2c 20 69 66 20 74 68 |cute cod|e, if th|
|00002340| 65 20 74 6f 70 20 73 74 | 61 63 6b 0a 65 6e 74 72 |e top st|ack.entr|
|00002350| 79 20 69 73 20 4e 4f 4e | 20 7a 65 72 6f 20 77 68 |y is NON| zero wh|
|00002360| 65 6e 20 74 68 65 20 69 | 66 20 65 76 61 6c 75 61 |en the i|f evalua|
|00002370| 74 65 73 20 74 68 65 6e | 20 74 68 65 20 63 6f 64 |tes then| the cod|
|00002380| 65 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 49 46 |e betwee|n the IF|
|00002390| 20 61 6e 64 0a 54 48 45 | 4e 20 69 73 20 65 78 65 | and.THE|N is exe|
|000023a0| 63 75 74 65 64 2c 20 69 | 66 20 74 68 65 20 73 74 |cuted, i|f the st|
|000023b0| 61 63 6b 20 65 6e 74 72 | 79 20 77 61 73 20 7a 65 |ack entr|y was ze|
|000023c0| 72 6f 20 74 68 65 6e 20 | 65 78 65 63 75 74 69 6f |ro then |executio|
|000023d0| 6e 20 73 6b 69 70 73 20 | 74 6f 0a 74 68 65 20 63 |n skips |to.the c|
|000023e0| 6f 64 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 74 68 |ode foll|owing th|
|000023f0| 65 20 74 68 65 6e 2e 0a | 45 78 61 6d 70 6c 65 3a |e then..|Example:|
|00002400| 20 70 72 69 6e 74 20 42 | 45 45 50 20 69 66 20 61 | print B|EEP if a|
|00002410| 20 31 20 69 73 20 74 68 | 65 20 74 6f 70 0a 73 74 | 1 is th|e top.st|
|00002420| 61 63 6b 20 65 6e 74 72 | 79 2e 20 0a 20 20 20 20 |ack entr|y. . |
|00002430| 20 20 20 20 20 20 20 20 | 20 20 20 20 3a 20 62 6c | | : bl|
|00002440| 65 65 70 20 69 66 20 5b | 20 42 45 45 50 20 5d 20 |eep if [| BEEP ] |
|00002450| 74 68 65 6e 20 3b 0a 20 | 20 20 20 20 20 20 20 20 |then ;. | |
|00002460| 20 20 20 20 20 20 20 30 | 20 62 6c 65 65 70 20 3c | 0| bleep <|
|00002470| 52 45 54 55 52 4e 3e 20 | 4f 4b 0a 20 20 20 20 20 |RETURN> |OK. |
|00002480| 20 20 20 20 20 20 20 20 | 20 20 20 31 20 62 6c 65 | | 1 ble|
|00002490| 65 70 20 3c 52 45 54 55 | 52 4e 3e 20 42 45 45 50 |ep <RETU|RN> BEEP|
|000024a0| 20 4f 4b 0a 0a 49 46 2e | 2e 45 4c 53 45 2e 2e 54 | OK..IF.|.ELSE..T|
|000024b0| 48 45 4e 0a 20 20 50 72 | 6f 76 69 64 65 73 20 66 |HEN. Pr|ovides f|
|000024c0| 61 63 69 6c 69 74 69 65 | 73 20 66 6f 72 20 65 78 |acilitie|s for ex|
|000024d0| 65 63 75 74 69 6e 67 20 | 6f 6e 65 20 73 65 63 74 |ecuting |one sect|
|000024e0| 69 6f 6e 20 6f 66 20 63 | 6f 64 65 20 4f 52 0a 61 |ion of c|ode OR.a|
|000024f0| 6e 6f 74 68 65 72 2e 20 | 20 49 66 20 74 68 65 20 |nother. | If the |
|00002500| 74 6f 70 20 73 74 61 63 | 6b 20 65 6e 74 72 79 20 |top stac|k entry |
|00002510| 69 73 20 74 72 75 65 20 | 74 68 65 20 63 6f 64 65 |is true |the code|
|00002520| 20 62 65 74 77 65 65 6e | 20 74 68 65 20 49 46 20 | between| the IF |
|00002530| 61 6e 64 0a 45 4c 53 45 | 20 69 73 20 65 78 65 63 |and.ELSE| is exec|
|00002540| 75 74 65 64 20 6f 74 68 | 65 72 77 69 73 65 20 74 |uted oth|erwise t|
|00002550| 68 65 20 63 6f 64 65 20 | 62 65 74 77 65 65 6e 20 |he code |between |
|00002560| 74 68 65 20 45 4c 53 45 | 20 61 6e 64 20 74 68 65 |the ELSE| and the|
|00002570| 20 54 48 45 4e 20 77 69 | 6c 6c 0a 62 65 20 65 78 | THEN wi|ll.be ex|
|00002580| 65 63 75 74 65 64 2e 20 | 20 50 72 6f 67 72 61 6d |ecuted. | Program|
|00002590| 20 65 78 65 63 75 74 69 | 6f 6e 20 77 69 6c 6c 20 | executi|on will |
|000025a0| 63 6f 6e 74 69 6e 75 65 | 20 77 69 74 68 20 74 68 |continue| with th|
|000025b0| 65 20 63 6f 64 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |e code f|ollowing|
|000025c0| 0a 74 68 65 20 54 48 45 | 4e 20 69 6e 20 62 6f 74 |.the THE|N in bot|
|000025d0| 68 20 63 61 73 65 73 2e | 20 0a 45 78 61 6d 70 6c |h cases.| .Exampl|
|000025e0| 65 3a 20 69 66 20 74 6f | 70 20 73 74 61 63 6b 20 |e: if to|p stack |
|000025f0| 65 6e 74 72 79 20 69 73 | 20 31 20 70 72 69 6e 74 |entry is| 1 print|
|00002600| 20 54 52 55 45 20 65 6c | 73 65 20 70 72 69 6e 74 | TRUE el|se print|
|00002610| 20 46 41 4c 53 45 2e 20 | 0a 20 20 20 20 20 20 20 | FALSE. |. |
|00002620| 20 20 20 20 20 20 20 20 | 20 3a 20 74 65 73 74 20 | | : test |
|00002630| 69 66 20 5b 20 54 52 55 | 45 20 5d 20 65 6c 73 65 |if [ TRU|E ] else|
|00002640| 20 5b 20 46 41 4c 53 45 | 20 5d 20 74 68 65 6e 20 | [ FALSE| ] then |
|00002650| 3b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|00002660| 20 20 31 20 74 65 73 74 | 20 3c 52 45 54 55 52 4e | 1 test| <RETURN|
|00002670| 3e 20 54 52 55 45 20 4f | 4b 0a 20 20 20 20 20 20 |> TRUE O|K. |
|00002680| 20 20 20 20 20 20 20 20 | 20 20 30 20 74 65 73 74 | | 0 test|
|00002690| 20 3c 52 45 54 55 52 4e | 3e 20 46 41 4c 53 45 20 | <RETURN|> FALSE |
|000026a0| 4f 4b 0a 0a 42 45 47 49 | 4e 2e 2e 49 46 2e 2e 57 |OK..BEGI|N..IF..W|
|000026b0| 48 49 4c 45 0a 20 20 50 | 72 6f 76 69 64 65 73 20 |HILE. P|rovides |
|000026c0| 61 20 66 6f 72 6d 20 6f | 66 20 57 48 49 4c 45 20 |a form o|f WHILE |
|000026d0| 6c 6f 6f 70 20 69 6e 20 | 41 52 4d 46 4f 52 54 48 |loop in |ARMFORTH|
|000026e0| 2c 20 74 68 65 20 63 6f | 64 65 20 62 65 74 77 65 |, the co|de betwe|
|000026f0| 65 6e 20 42 45 47 49 4e | 20 61 6e 64 0a 49 46 20 |en BEGIN| and.IF |
|00002700| 77 69 6c 6c 20 62 65 20 | 72 65 70 65 61 74 65 64 |will be |repeated|
|00002710| 20 77 68 69 6c 65 20 74 | 68 65 20 74 6f 70 20 73 | while t|he top s|
|00002720| 74 61 63 6b 20 65 6e 74 | 72 79 20 75 70 6f 6e 20 |tack ent|ry upon |
|00002730| 65 78 65 63 75 74 69 6f | 6e 20 6f 66 20 74 68 65 |executio|n of the|
|00002740| 20 49 46 0a 69 73 20 4e | 4f 4e 20 7a 65 72 6f 2c | IF.is N|ON zero,|
|00002750| 20 69 66 20 69 74 20 69 | 73 20 74 72 75 65 20 74 | if it i|s true t|
|00002760| 68 65 6e 20 74 68 65 20 | 63 6f 64 65 20 62 65 74 |hen the |code bet|
|00002770| 77 65 65 6e 20 74 68 65 | 20 49 46 20 61 6e 64 20 |ween the| IF and |
|00002780| 57 48 49 4c 45 20 77 69 | 6c 6c 0a 62 65 20 65 78 |WHILE wi|ll.be ex|
|00002790| 65 63 75 74 65 64 20 61 | 6e 64 20 61 20 62 72 61 |ecuted a|nd a bra|
|000027a0| 6e 63 68 20 6d 61 64 65 | 20 62 61 63 6b 20 74 6f |nch made| back to|
|000027b0| 20 74 68 65 20 63 6f 64 | 65 20 66 6f 6c 6c 6f 77 | the cod|e follow|
|000027c0| 69 6e 67 20 42 45 47 49 | 4e 2e 20 20 49 66 20 74 |ing BEGI|N. If t|
|000027d0| 68 65 0a 73 74 61 63 6b | 20 63 6f 6e 74 61 69 6e |he.stack| contain|
|000027e0| 65 64 20 61 20 7a 65 72 | 6f 20 77 68 65 6e 20 74 |ed a zer|o when t|
|000027f0| 68 65 20 49 46 20 65 76 | 61 6c 75 61 74 65 64 20 |he IF ev|aluated |
|00002800| 74 68 65 20 63 6f 64 65 | 20 66 6f 6c 6c 6f 77 69 |the code| followi|
|00002810| 6e 67 20 74 68 65 0a 57 | 48 49 4c 45 20 77 68 69 |ng the.W|HILE whi|
|00002820| 6c 65 20 62 65 20 65 78 | 65 63 75 74 65 64 2e 0a |le be ex|ecuted..|
|00002830| 45 78 61 6d 70 6c 65 3a | 20 70 72 69 6e 74 20 6b |Example:| print k|
|00002840| 65 79 73 20 77 68 69 6c | 65 20 3c 73 70 61 63 65 |eys whil|e <space|
|00002850| 3e 20 69 73 20 6e 6f 74 | 20 70 72 65 73 73 65 64 |> is not| pressed|
|00002860| 2e 20 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. . | |
|00002870| 20 20 20 3a 20 74 65 73 | 74 20 62 65 67 69 6e 20 | : tes|t begin |
|00002880| 67 65 74 20 64 75 70 20 | 33 32 20 3c 3e 20 69 66 |get dup |32 <> if|
|00002890| 20 76 64 75 20 77 68 69 | 6c 65 20 5b 20 44 4f 4e | vdu whi|le [ DON|
|000028a0| 45 20 5d 20 3b 0a 20 20 | 20 20 20 20 20 20 20 20 |E ] ;. | |
|000028b0| 20 20 20 20 20 20 74 65 | 73 74 20 5b 5b 61 5d 5d | te|st [[a]]|
|000028c0| 61 5b 5b 62 5d 5d 62 5b | 5b 3c 53 50 41 43 45 3e |a[[b]]b[|[<SPACE>|
|000028d0| 5d 5d 20 44 4f 4e 45 20 | 4f 4b 0a 0a 42 45 47 49 |]] DONE |OK..BEGI|
|000028e0| 4e 2e 2e 49 46 2e 2e 45 | 4c 53 45 2e 2e 57 48 49 |N..IF..E|LSE..WHI|
|000028f0| 4c 45 0a 20 20 54 68 69 | 73 20 6c 6f 6f 70 20 63 |LE. Thi|s loop c|
|00002900| 6f 6e 73 74 72 75 63 74 | 20 69 73 20 65 73 73 65 |onstruct| is esse|
|00002910| 6e 74 69 61 6c 6c 79 20 | 74 68 65 20 6f 70 70 6f |ntially |the oppo|
|00002920| 73 69 74 65 20 6f 66 20 | 74 68 65 20 6c 6f 6f 70 |site of |the loop|
|00002930| 20 61 62 6f 76 65 2e 20 | 20 49 74 0a 65 78 65 63 | above. | It.exec|
|00002940| 75 74 65 73 20 74 68 65 | 20 63 6f 64 65 20 62 65 |utes the| code be|
|00002950| 74 77 65 65 6e 20 74 68 | 65 20 42 45 47 49 4e 20 |tween th|e BEGIN |
|00002960| 61 6e 64 20 54 48 45 20 | 49 46 20 77 68 69 6c 65 |and THE |IF while|
|00002970| 20 74 68 65 20 74 6f 70 | 20 73 74 61 63 6b 20 65 | the top| stack e|
|00002980| 6e 74 72 79 0a 69 73 20 | 66 61 6c 73 65 20 61 6e |ntry.is |false an|
|00002990| 64 20 74 65 72 6d 69 6e | 61 74 65 73 20 77 68 65 |d termin|ates whe|
|000029a0| 6e 20 69 74 20 69 73 20 | 74 72 75 65 2e 0a 45 78 |n it is |true..Ex|
|000029b0| 61 6d 70 6c 65 3a 0a 20 | 20 20 20 20 20 20 20 20 |ample:. | |
|000029c0| 20 20 20 20 20 20 20 3a | 20 74 65 73 74 20 62 65 | :| test be|
|000029d0| 67 69 6e 20 67 65 74 20 | 64 75 70 20 33 32 20 3d |gin get |dup 32 =|
|000029e0| 20 69 66 20 5b 20 44 6f | 6e 65 20 5d 20 65 6c 73 | if [ Do|ne ] els|
|000029f0| 65 20 76 64 75 20 77 68 | 69 6c 65 20 3b 0a 20 20 |e vdu wh|ile ;. |
|00002a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 65 | | te|
|00002a10| 73 74 20 5b 5b 61 5d 5d | 61 5b 5b 62 5d 5d 62 5b |st [[a]]|a[[b]]b[|
|00002a20| 5b 3c 53 50 41 43 45 3e | 5d 5d 20 44 4f 4e 45 20 |[<SPACE>|]] DONE |
|00002a30| 4f 4b 0a 0a 0a 46 4f 52 | 54 48 20 63 6f 6d 6d 61 |OK...FOR|TH comma|
|00002a40| 6e 64 20 6c 69 73 74 20 | 0a 0a 53 6f 6d 65 20 53 |nd list |..Some S|
|00002a50| 79 6e 74 61 78 3a 20 0a | 0a 20 20 3c 2e 2e 2e 3e |yntax: .|. <...>|
|00002a60| 20 6d 65 61 6e 73 20 69 | 74 65 6d 20 6d 75 73 74 | means i|tem must|
|00002a70| 20 62 65 20 70 72 65 73 | 65 6e 74 20 2f 20 6f 72 | be pres|ent / or|
|00002a80| 20 77 69 6c 6c 20 62 65 | 20 63 72 65 61 74 65 64 | will be| created|
|00002a90| 0a 20 20 5b 20 20 20 5d | 20 6d 65 61 6e 73 20 6f |. [ ]| means o|
|00002aa0| 70 74 69 6f 6e 61 6c 6c | 79 20 63 72 65 61 74 65 |ptionall|y create|
|00002ab0| 64 2e 20 0a 0a 41 62 6f | 75 74 20 74 68 69 73 20 |d. ..Abo|ut this |
|00002ac0| 6c 69 73 74 3a 20 0a 0a | 43 6f 6d 6d 61 6e 64 20 |list: ..|Command |
|00002ad0| 20 20 3a 20 6e 61 6d 65 | 20 6f 66 20 63 6f 6d 6d | : name| of comm|
|00002ae0| 61 6e 64 0a 54 79 70 65 | 20 20 20 20 20 20 3a 20 |and.Type| : |
|00002af0| 76 61 72 69 61 62 6c 65 | 20 2f 20 63 6f 6d 6d 61 |variable| / comma|
|00002b00| 6e 64 20 2f 20 63 6f 6d | 70 69 6c 69 6e 67 20 63 |nd / com|piling c|
|00002b10| 6f 6d 6d 61 6e 64 0a 41 | 72 67 75 6d 65 6e 74 73 |ommand.A|rguments|
|00002b20| 20 3a 20 3c 65 6e 74 72 | 79 31 3e 20 3c 65 6e 74 | : <entr|y1> <ent|
|00002b30| 72 79 32 3e 20 3c 65 6e | 74 72 79 33 3e 20 2e 2e |ry2> <en|try3> ..|
|00002b40| 20 3c 6e 74 68 20 65 6e | 74 72 79 3e 0a 52 65 74 | <nth en|try>.Ret|
|00002b50| 75 72 6e 73 20 20 20 3a | 20 3c 65 6e 74 72 79 31 |urns :| <entry1|
|00002b60| 3e 20 3c 65 6e 74 72 79 | 32 3e 20 3c 65 6e 74 72 |> <entry|2> <entr|
|00002b70| 79 33 3e 20 2e 2e 20 3c | 6e 74 68 20 65 6e 74 72 |y3> .. <|nth entr|
|00002b80| 79 3e 20 0a 44 65 73 63 | 72 69 70 74 69 6f 6e 0a |y> .Desc|ription.|
|00002b90| 41 20 62 72 69 65 66 20 | 64 65 73 63 72 69 70 74 |A brief |descript|
|00002ba0| 69 6f 6e 20 6f 66 20 77 | 68 61 74 20 74 68 65 20 |ion of w|hat the |
|00002bb0| 63 6f 6d 6d 61 6e 64 20 | 64 6f 65 73 20 61 74 20 |command |does at |
|00002bc0| 63 6f 6d 70 69 6c 65 20 | 6f 72 20 65 78 65 63 75 |compile |or execu|
|00002bd0| 74 65 0a 74 69 6d 65 20 | 64 65 70 65 6e 64 69 6e |te.time |dependin|
|00002be0| 67 20 75 70 6f 6e 20 69 | 74 73 20 66 75 6e 63 74 |g upon i|ts funct|
|00002bf0| 69 6f 6e 2e 0a 0a 43 6f | 6d 6d 61 6e 64 20 3a 20 |ion...Co|mmand : |
|00002c00| 65 64 69 74 76 0a 54 79 | 70 65 20 20 20 20 3a 20 |editv.Ty|pe : |
|00002c10| 73 79 73 74 65 6d 20 76 | 61 72 69 61 62 6c 65 0a |system v|ariable.|
|00002c20| 41 72 67 75 6d 65 6e 74 | 73 20 3a 0a 52 65 74 75 |Argument|s :.Retu|
|00002c30| 72 6e 73 20 20 20 3a 20 | 61 64 64 72 65 73 73 20 |rns : |address |
|00002c40| 6f 66 20 65 64 69 74 20 | 76 65 63 74 6f 72 0a 44 |of edit |vector.D|
|00002c50| 65 73 63 72 69 70 74 69 | 6f 6e 20 75 73 65 64 0a |escripti|on used.|
|00002c60| 69 66 20 61 20 72 65 70 | 6c 61 63 65 6d 65 6e 74 |if a rep|lacement|
|00002c70| 20 27 69 6e 6c 69 6e 65 | 27 20 69 6e 70 75 74 20 | 'inline|' input |
|00002c80| 72 6f 75 74 69 6e 65 20 | 69 73 20 77 72 69 74 74 |routine |is writt|
|00002c90| 65 6e 20 74 68 65 20 61 | 64 64 72 65 73 73 20 6f |en the a|ddress o|
|00002ca0| 66 20 74 68 65 0a 72 6f | 75 74 69 6e 65 20 69 73 |f the.ro|utine is|
|00002cb0| 20 70 75 74 20 69 6e 74 | 6f 20 74 68 69 73 20 76 | put int|o this v|
|00002cc0| 61 72 69 61 62 6c 65 2e | 20 0a 0a 43 6f 6d 6d 61 |ariable.| ..Comma|
|00002cd0| 6e 64 20 20 20 3a 20 62 | 61 73 65 0a 54 79 70 65 |nd : b|ase.Type|
|00002ce0| 20 20 20 20 20 20 3a 20 | 73 79 73 74 65 6d 20 76 | : |system v|
|00002cf0| 61 72 69 61 62 6c 65 20 | 0a 41 72 67 75 6d 65 6e |ariable |.Argumen|
|00002d00| 74 73 20 3a 20 0a 52 65 | 74 75 72 6e 73 20 20 20 |ts : .Re|turns |
|00002d10| 3a 20 61 64 64 72 65 73 | 73 20 6f 66 20 73 79 73 |: addres|s of sys|
|00002d20| 74 65 6d 20 62 61 73 65 | 20 0a 44 65 73 63 72 69 |tem base| .Descri|
|00002d30| 70 74 69 6f 6e 0a 75 73 | 65 64 20 74 6f 20 63 68 |ption.us|ed to ch|
|00002d40| 61 6e 67 65 20 74 68 65 | 20 63 75 72 72 65 6e 74 |ange the| current|
|00002d50| 20 6e 75 6d 62 65 72 20 | 65 6e 74 72 79 20 6d 6f | number |entry mo|
|00002d60| 64 65 20 62 61 73 65 0a | 45 78 61 6d 70 6c 65 3a |de base.|Example:|
|00002d70| 20 31 36 20 6d 6f 64 65 | 20 21 20 2d 20 73 65 74 | 16 mode| ! - set|
|00002d80| 73 20 68 65 78 20 6e 75 | 6d 65 72 69 63 20 65 6e |s hex nu|meric en|
|00002d90| 74 72 79 0a 0a 43 6f 6d | 6d 61 6e 64 20 20 20 3a |try..Com|mand :|
|00002da0| 20 63 6f 6d 70 69 6c 65 | 72 0a 54 79 70 65 20 20 | compile|r.Type |
|00002db0| 20 20 20 20 3a 20 73 79 | 73 74 65 6d 20 76 61 72 | : sy|stem var|
|00002dc0| 69 61 62 6c 65 20 0a 41 | 72 67 75 6d 65 6e 74 73 |iable .A|rguments|
|00002dd0| 20 3a 20 20 0a 52 65 74 | 75 72 6e 73 20 20 20 3a | : .Ret|urns :|
|00002de0| 20 20 3c 65 6e 74 72 79 | 3e 0a 44 65 73 63 72 69 | <entry|>.Descri|
|00002df0| 70 74 69 6f 6e 0a 50 75 | 73 68 65 73 20 74 68 65 |ption.Pu|shes the|
|00002e00| 20 61 64 64 72 65 73 73 | 20 6f 66 20 74 68 65 20 | address| of the |
|00002e10| 63 6f 6d 70 69 6c 65 72 | 20 76 61 72 69 61 62 6c |compiler| variabl|
|00002e20| 65 20 77 68 69 63 68 20 | 70 6f 69 6e 74 73 20 74 |e which |points t|
|00002e30| 6f 20 74 68 65 20 6c 61 | 73 74 0a 65 6e 74 72 79 |o the la|st.entry|
|00002e40| 20 69 6e 20 74 68 65 20 | 43 4f 4d 50 49 4c 45 52 | in the |COMPILER|
|00002e50| 20 76 6f 63 61 62 75 6c | 61 72 79 0a 0a 43 6f 6d | vocabul|ary..Com|
|00002e60| 6d 61 6e 64 20 3a 20 63 | 6f 6e 74 65 78 74 0a 54 |mand : c|ontext.T|
|00002e70| 79 70 65 20 20 20 20 3a | 20 73 79 73 74 65 6d 20 |ype :| system |
|00002e80| 76 61 72 69 61 62 6c 65 | 20 0a 41 72 67 75 6d 65 |variable| .Argume|
|00002e90| 6e 74 73 20 20 20 20 20 | 20 20 3a 20 20 0a 52 65 |nts | : .Re|
|00002ea0| 74 75 72 6e 73 20 3a 20 | 20 3c 65 6e 74 72 79 3e |turns : | <entry>|
|00002eb0| 0a 44 65 73 63 72 69 70 | 74 69 6f 6e 0a 50 75 73 |.Descrip|tion.Pus|
|00002ec0| 68 65 73 20 74 68 65 20 | 61 64 64 72 65 73 73 20 |hes the |address |
|00002ed0| 6f 66 20 74 68 65 20 73 | 79 73 74 65 6d 20 43 4f |of the s|ystem CO|
|00002ee0| 4e 54 45 58 54 20 76 61 | 72 69 61 62 6c 65 20 74 |NTEXT va|riable t|
|00002ef0| 6f 20 74 68 65 20 73 74 | 61 63 6b 2e 20 0a 0a 43 |o the st|ack. ..C|
|00002f00| 6f 6d 6d 61 6e 64 20 3a | 20 63 75 72 72 65 6e 74 |ommand :| current|
|00002f10| 0a 54 79 70 65 20 20 20 | 20 3a 20 73 79 73 74 65 |.Type | : syste|
|00002f20| 6d 20 76 61 72 69 61 62 | 6c 65 20 0a 41 72 67 75 |m variab|le .Argu|
|00002f30| 6d 65 6e 74 73 20 20 20 | 20 20 20 20 3a 20 20 0a |ments | : .|
|00002f40| 52 65 74 75 72 6e 73 20 | 3a 20 20 3c 65 6e 74 72 |Returns |: <entr|
|00002f50| 79 3e 0a 44 65 73 63 72 | 69 70 74 69 6f 6e 0a 50 |y>.Descr|iption.P|
|00002f60| 75 73 68 65 73 20 74 68 | 65 20 61 64 64 72 65 73 |ushes th|e addres|
|00002f70| 73 20 6f 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |s of the| current|
|00002f80| 20 76 6f 63 61 62 75 6c | 61 72 79 20 76 61 72 69 | vocabul|ary vari|
|00002f90| 61 62 6c 65 2e 0a 0a 43 | 6f 6d 6d 61 6e 64 20 3a |able...C|ommand :|
|00002fa0| 20 64 70 0a 54 79 70 65 | 20 20 20 20 3a 20 73 79 | dp.Type| : sy|
|00002fb0| 73 74 65 6d 20 76 61 72 | 69 61 62 6c 65 20 0a 41 |stem var|iable .A|
|00002fc0| 72 67 75 6d 65 6e 74 73 | 20 20 20 20 20 20 20 3a |rguments| :|
|00002fd0| 20 20 0a 52 65 74 75 72 | 6e 73 20 3a 20 61 64 64 | .Retur|ns : add|
|00002fe0| 72 65 73 73 20 6f 66 20 | 64 69 63 74 69 6f 6e 61 |ress of |dictiona|
|00002ff0| 72 79 20 70 6f 69 6e 74 | 65 72 20 76 61 72 69 61 |ry point|er varia|
|00003000| 62 6c 65 20 0a 44 65 73 | 63 72 69 70 74 69 6f 6e |ble .Des|cription|
|00003010| 0a 75 73 65 64 20 74 6f | 20 6c 6f 63 61 74 65 20 |.used to| locate |
|00003020| 74 68 65 20 63 75 72 72 | 65 6e 74 20 64 70 20 76 |the curr|ent dp v|
|00003030| 61 6c 75 65 0a 0a 0a 43 | 6f 6d 6d 61 6e 64 3a 20 |alue...C|ommand: |
|00003040| 68 69 6d 65 6d 0a 54 79 | 70 65 20 20 20 20 3a 20 |himem.Ty|pe : |
|00003050| 73 79 73 74 65 6d 20 76 | 61 72 69 61 62 6c 65 20 |system v|ariable |
|00003060| 0a 41 72 67 75 6d 65 6e | 74 73 20 20 20 20 20 20 |.Argumen|ts |
|00003070| 20 3a 20 20 0a 52 65 74 | 75 72 6e 73 20 3a 20 20 | : .Ret|urns : |
|00003080| 61 64 64 72 65 73 73 20 | 6f 66 20 68 69 6d 65 6d |address |of himem|
|00003090| 20 76 61 72 69 61 62 6c | 65 0a 44 65 73 63 72 69 | variabl|e.Descri|
|000030a0| 70 74 69 6f 6e 0a 74 68 | 65 20 77 6f 72 64 20 61 |ption.th|e word a|
|000030b0| 74 20 74 68 69 73 20 61 | 64 64 72 65 73 73 20 69 |t this a|ddress i|
|000030c0| 73 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 74 |s the va|lue of t|
|000030d0| 68 65 20 68 69 67 68 65 | 73 74 20 61 64 64 72 65 |he highe|st addre|
|000030e0| 73 73 20 74 68 61 74 20 | 74 68 65 0a 64 69 63 74 |ss that |the.dict|
|000030f0| 69 6f 6e 61 72 79 20 70 | 6f 69 6e 74 65 72 20 63 |ionary p|ointer c|
|00003100| 6f 75 6c 64 20 69 6e 63 | 72 65 61 73 65 20 74 6f |ould inc|rease to|
|00003110| 77 61 72 64 73 20 62 65 | 66 6f 72 65 20 63 6f 72 |wards be|fore cor|
|00003120| 72 75 70 74 69 6e 67 20 | 74 68 65 20 73 74 61 63 |rupting |the stac|
|00003130| 6b 20 73 70 61 63 65 2e | 20 0a 0a 43 6f 6d 6d 61 |k space.| ..Comma|
|00003140| 6e 64 20 3a 20 6c 62 70 | 0a 54 79 70 65 20 20 20 |nd : lbp|.Type |
|00003150| 20 3a 20 73 79 73 74 65 | 6d 20 76 61 72 69 61 62 | : syste|m variab|
|00003160| 6c 65 20 0a 41 72 67 75 | 6d 65 6e 74 73 20 20 20 |le .Argu|ments |
|00003170| 20 20 20 20 3a 20 20 0a | 52 65 74 75 72 6e 73 20 | : .|Returns |
|00003180| 3a 20 61 64 64 72 65 73 | 73 20 6f 66 20 6c 69 6e |: addres|s of lin|
|00003190| 65 20 62 75 66 66 65 72 | 20 70 6f 69 6e 74 65 72 |e buffer| pointer|
|000031a0| 20 0a 44 65 73 63 72 69 | 70 74 69 6f 6e 0a 75 73 | .Descri|ption.us|
|000031b0| 65 64 20 62 79 20 69 6e | 6c 69 6e 65 20 61 6e 64 |ed by in|line and|
|000031c0| 20 74 6f 6b 65 6e 20 66 | 6f 72 20 63 68 61 72 61 | token f|or chara|
|000031d0| 63 74 65 72 20 65 6e 74 | 72 79 20 61 6e 64 20 74 |cter ent|ry and t|
|000031e0| 6f 6b 65 6e 69 73 61 74 | 69 6f 6e 0a 0a 43 6f 6d |okenisat|ion..Com|
|000031f0| 6d 61 6e 64 20 3a 20 6d | 6f 64 65 0a 54 79 70 65 |mand : m|ode.Type|
|00003200| 20 20 20 20 3a 20 73 79 | 73 74 65 6d 20 76 61 72 | : sy|stem var|
|00003210| 69 61 62 6c 65 20 0a 41 | 72 67 75 6d 65 6e 74 73 |iable .A|rguments|
|00003220| 20 20 20 20 20 20 20 3a | 20 20 0a 52 65 74 75 72 | :| .Retur|
|00003230| 6e 73 20 3a 20 61 64 64 | 72 65 73 73 20 6f 66 20 |ns : add|ress of |
|00003240| 6d 6f 64 65 20 76 61 72 | 69 61 62 6c 65 20 0a 44 |mode var|iable .D|
|00003250| 65 73 63 72 69 70 74 69 | 6f 6e 0a 69 6e 64 69 63 |escripti|on.indic|
|00003260| 61 74 65 73 20 69 66 20 | 73 79 73 74 65 6d 20 69 |ates if |system i|
|00003270| 73 20 69 6e 20 63 6f 6d | 70 69 6c 65 20 28 20 31 |s in com|pile ( 1|
|00003280| 20 29 20 6f 72 20 65 78 | 65 63 75 74 65 20 6d 6f | ) or ex|ecute mo|
|00003290| 64 65 20 28 20 30 20 29 | 0a 0a 43 6f 6d 6d 61 6e |de ( 0 )|..Comman|
|000032a0| 64 20 3a 20 73 74 61 74 | 65 0a 54 79 70 65 20 20 |d : stat|e.Type |
|000032b0| 20 20 3a 20 73 79 73 74 | 65 6d 20 76 61 72 69 61 | : syst|em varia|
|000032c0| 62 6c 65 20 0a 41 72 67 | 75 6d 65 6e 74 73 20 20 |ble .Arg|uments |
|000032d0| 20 20 20 20 20 3a 20 20 | 0a 52 65 74 75 72 6e 73 | : |.Returns|
|000032e0| 20 3a 20 61 64 64 72 65 | 73 73 20 6f 66 20 73 74 | : addre|ss of st|
|000032f0| 61 74 65 20 76 61 72 69 | 61 62 6c 65 20 0a 44 65 |ate vari|able .De|
|00003300| 73 63 72 69 70 74 69 6f | 6e 0a 75 73 65 64 20 77 |scriptio|n.used w|
|00003310| 69 74 68 20 6d 6f 64 65 | 20 74 6f 20 64 65 63 69 |ith mode| to deci|
|00003320| 64 65 20 69 66 20 61 20 | 77 6f 72 64 20 69 73 20 |de if a |word is |
|00003330| 63 6f 6d 70 69 6c 65 64 | 20 6f 72 20 65 78 65 63 |compiled| or exec|
|00003340| 75 74 65 64 0a 0a 43 6f | 6d 6d 61 6e 64 20 3a 20 |uted..Co|mmand : |
|00003350| 63 6f 72 65 0a 54 79 70 | 65 20 20 20 20 3a 20 73 |core.Typ|e : s|
|00003360| 79 73 74 65 6d 20 76 61 | 72 69 61 62 6c 65 20 0a |ystem va|riable .|
|00003370| 41 72 67 75 6d 65 6e 74 | 73 20 20 20 20 20 20 20 |Argument|s |
|00003380| 3a 20 20 0a 52 65 74 75 | 72 6e 73 20 3a 20 20 0a |: .Retu|rns : .|
|00003390| 44 65 73 63 72 69 70 74 | 69 6f 6e 0a 49 6e 76 6f |Descript|ion.Invo|
|000033a0| 6b 65 73 20 74 68 65 20 | 43 4f 52 45 20 76 6f 63 |kes the |CORE voc|
|000033b0| 61 62 75 6c 61 72 79 2e | 0a 0a 43 6f 6d 6d 61 6e |abulary.|..Comman|
|000033c0| 64 20 3a 20 71 75 69 74 | 0a 54 79 70 65 20 20 20 |d : quit|.Type |
|000033d0| 20 3a 20 63 6f 6d 6d 61 | 6e 64 20 0a 41 72 67 75 | : comma|nd .Argu|
|000033e0| 6d 65 6e 74 73 20 20 20 | 20 20 20 20 3a 20 20 0a |ments | : .|
|000033f0| 52 65 74 75 72 6e 73 20 | 3a 20 20 0a 44 65 73 63 |Returns |: .Desc|
|00003400| 72 69 70 74 69 6f 6e 0a | 65 78 69 74 73 20 66 72 |ription.|exits fr|
|00003410| 6f 6d 20 74 68 65 20 66 | 6f 72 74 68 20 65 6e 76 |om the f|orth env|
|00003420| 69 72 6f 6e 6d 65 6e 74 | 2e 0a 0a 43 6f 6d 6d 61 |ironment|...Comma|
|00003430| 6e 64 20 3a 20 73 69 6e | 67 6c 65 74 61 73 6b 0a |nd : sin|gletask.|
|00003440| 54 79 70 65 20 20 20 20 | 3a 20 63 6f 6d 6d 61 6e |Type |: comman|
|00003450| 64 20 0a 41 72 67 75 6d | 65 6e 74 73 20 20 20 20 |d .Argum|ents |
|00003460| 20 20 20 3a 20 20 0a 52 | 65 74 75 72 6e 73 20 3a | : .R|eturns :|
|00003470| 20 20 0a 44 65 73 63 72 | 69 70 74 69 6f 6e 0a 73 | .Descr|iption.s|
|00003480| 74 6f 70 20 6d 75 6c 74 | 69 74 61 73 6b 69 6e 67 |top mult|itasking|
|00003490| 0a 0a 43 6f 6d 6d 61 6e | 64 20 3a 20 6d 75 6c 74 |..Comman|d : mult|
|000034a0| 69 74 61 73 6b 0a 54 79 | 70 65 20 20 20 20 3a 20 |itask.Ty|pe : |
|000034b0| 63 6f 6d 6d 61 6e 64 20 | 0a 41 72 67 75 6d 65 6e |command |.Argumen|
|000034c0| 74 73 20 20 20 20 20 20 | 20 3a 20 20 0a 52 65 74 |ts | : .Ret|
|000034d0| 75 72 6e 73 20 3a 20 20 | 0a 44 65 73 63 72 69 70 |urns : |.Descrip|
|000034e0| 74 69 6f 6e 0a 73 74 61 | 72 74 20 6d 75 6c 74 69 |tion.sta|rt multi|
|000034f0| 74 61 73 6b 69 6e 67 0a | 0a 0a 43 6f 6d 6d 61 6e |tasking.|..Comman|
|00003500| 64 20 3a 20 66 6f 72 6b | 0a 54 79 70 65 20 20 20 |d : fork|.Type |
|00003510| 20 3a 20 63 6f 6d 6d 61 | 6e 64 20 0a 41 72 67 75 | : comma|nd .Argu|
|00003520| 6d 65 6e 74 73 20 20 20 | 20 20 20 20 3a 20 61 64 |ments | : ad|
|00003530| 64 72 65 73 73 20 6f 66 | 20 72 6f 75 74 69 6e 65 |dress of| routine|
|00003540| 20 74 6f 20 66 6f 72 6b | 20 0a 52 65 74 75 72 6e | to fork| .Return|
|00003550| 73 20 3a 20 0a 44 65 73 | 63 72 69 70 74 69 6f 6e |s : .Des|cription|
|00003560| 0a 74 61 6b 65 73 20 61 | 64 64 72 65 73 73 20 6f |.takes a|ddress o|
|00003570| 66 20 72 6f 75 74 69 6e | 65 20 66 72 6f 6d 20 73 |f routin|e from s|
|00003580| 74 61 63 6b 20 61 6e 64 | 20 73 74 61 72 74 73 20 |tack and| starts |
|00003590| 74 68 65 20 74 61 73 6b | 20 77 68 65 6e 20 74 68 |the task| when th|
|000035a0| 65 20 6e 65 78 74 20 71 | 75 61 6e 74 61 6d 20 65 |e next q|uantam e|
|000035b0| 6c 61 70 73 65 73 2e 0a | 45 78 61 6d 70 6c 65 3a |lapses..|Example:|
|000035c0| 20 27 20 74 65 73 74 20 | 66 6f 72 6b 20 2d 20 77 | ' test |fork - w|
|000035d0| 69 6c 6c 20 72 75 6e 20 | 74 65 73 74 20 61 73 20 |ill run |test as |
|000035e0| 61 20 62 61 63 6b 67 72 | 6f 75 6e 64 20 74 61 73 |a backgr|ound tas|
|000035f0| 6b 0a 0a 43 6f 6d 6d 61 | 6e 64 20 3a 20 74 61 73 |k..Comma|nd : tas|
|00003600| 6b 62 6c 6f 63 6b 0a 54 | 79 70 65 20 20 20 20 3a |kblock.T|ype :|
|00003610| 20 63 6f 6d 6d 61 6e 64 | 20 0a 41 72 67 75 6d 65 | command| .Argume|
|00003620| 6e 74 73 20 20 20 20 20 | 20 20 3a 20 20 0a 52 65 |nts | : .Re|
|00003630| 74 75 72 6e 73 20 3a 20 | 20 0a 44 65 73 63 72 69 |turns : | .Descri|
|00003640| 70 74 69 6f 6e 0a 0a 43 | 6f 6d 6d 61 6e 64 20 3a |ption..C|ommand :|
|00003650| 20 71 75 61 6e 74 61 6d | 0a 54 79 70 65 20 20 20 | quantam|.Type |
|00003660| 20 3a 20 73 79 73 74 65 | 6d 20 76 61 72 69 61 62 | : syste|m variab|
|00003670| 6c 65 20 0a 41 72 67 75 | 6d 65 6e 74 73 20 20 20 |le .Argu|ments |
|00003680| 20 20 20 20 3a 20 20 0a | 52 65 74 75 72 6e 73 20 | : .|Returns |
|00003690| 3a 20 61 64 64 72 65 73 | 73 20 6f 66 20 6d 75 6c |: addres|s of mul|
|000036a0| 74 69 74 61 73 6b 20 64 | 61 74 61 20 62 6c 6f 63 |titask d|ata bloc|
|000036b0| 6b 20 0a 44 65 73 63 72 | 69 70 74 69 6f 6e 0a 75 |k .Descr|iption.u|
|000036c0| 73 65 64 20 62 79 20 6d | 75 6c 74 69 74 61 73 6b |sed by m|ultitask|
|000036d0| 69 6e 67 20 63 6f 64 65 | 20 74 6f 20 67 65 74 20 |ing code| to get |
|000036e0| 61 63 63 65 73 73 20 74 | 6f 20 74 61 73 6b 20 71 |access t|o task q|
|000036f0| 75 65 75 65 73 20 61 6e | 64 20 73 74 61 74 75 73 |ueues an|d status|
|00003700| 2e 20 65 6e 61 62 6c 65 | 73 20 75 74 69 6c 69 74 |. enable|s utilit|
|00003710| 69 65 73 20 74 6f 20 62 | 65 20 77 72 69 74 74 65 |ies to b|e writte|
|00003720| 6e 20 74 6f 20 65 78 61 | 6d 69 6e 65 20 74 61 73 |n to exa|mine tas|
|00003730| 6b 20 73 74 61 74 75 73 | 20 65 74 63 2e 20 44 4f |k status| etc. DO|
|00003740| 20 4e 4f 54 20 4d 4f 44 | 49 46 59 20 54 48 45 20 | NOT MOD|IFY THE |
|00003750| 44 41 54 41 20 42 4c 4f | 43 4b 20 54 48 49 53 20 |DATA BLO|CK THIS |
|00003760| 50 4f 49 4e 54 53 20 54 | 4f 2e 0a 0a 43 6f 6d 6d |POINTS T|O...Comm|
|00003770| 61 6e 64 20 3a 20 74 6f | 6b 65 6e 0a 54 79 70 65 |and : to|ken.Type|
|00003780| 20 20 20 20 3a 20 63 6f | 6d 6d 61 6e 64 20 0a 41 | : co|mmand .A|
|00003790| 72 67 75 6d 65 6e 74 73 | 20 20 20 20 20 20 20 3a |rguments| :|
|000037a0| 20 3c 73 65 70 61 72 61 | 74 6f 72 3e 20 0a 52 65 | <separa|tor> .Re|
|000037b0| 74 75 72 6e 73 20 3a 20 | 20 0a 44 65 73 63 72 69 |turns : | .Descri|
|000037c0| 70 74 69 6f 6e 0a 74 6f | 6b 65 6e 69 73 65 73 20 |ption.to|kenises |
|000037d0| 74 68 65 20 6e 65 78 74 | 20 27 77 6f 72 64 27 20 |the next| 'word' |
|000037e0| 73 65 70 61 72 61 74 65 | 64 20 62 79 20 3c 73 65 |separate|d by <se|
|000037f0| 70 61 72 61 74 6f 72 3e | 20 69 6e 74 6f 20 74 68 |parator>| into th|
|00003800| 65 20 64 69 63 74 69 6f | 6e 61 72 79 20 73 70 61 |e dictio|nary spa|
|00003810| 63 65 0a 45 78 61 6d 70 | 6c 65 20 3a 20 61 73 70 |ce.Examp|le : asp|
|00003820| 61 63 65 20 74 6f 6b 65 | 6e 20 2d 20 74 6f 6b 65 |ace toke|n - toke|
|00003830| 6e 69 73 65 73 20 6e 65 | 78 74 20 77 6f 72 64 20 |nises ne|xt word |
|00003840| 69 6e 20 69 6e 70 75 74 | 20 62 75 66 66 65 72 0a |in input| buffer.|
|00003850| 0a 43 6f 6d 6d 61 6e 64 | 20 3a 20 73 65 61 72 63 |.Command| : searc|
|00003860| 68 0a 54 79 70 65 20 20 | 20 20 3a 20 63 6f 6d 6d |h.Type | : comm|
|00003870| 61 6e 64 20 0a 41 72 67 | 75 6d 65 6e 74 73 20 20 |and .Arg|uments |
|00003880| 20 20 20 20 20 3a 20 3c | 61 64 64 72 65 73 73 3e | : <|address>|
|00003890| 20 0a 52 65 74 75 72 6e | 73 20 3a 20 3c 73 74 61 | .Return|s : <sta|
|000038a0| 74 75 73 3e 20 5b 3c 61 | 64 64 72 65 73 73 3e 5d |tus> [<a|ddress>]|
|000038b0| 20 0a 44 65 73 63 72 69 | 70 74 69 6f 6e 0a 75 73 | .Descri|ption.us|
|000038c0| 65 64 20 74 6f 20 6c 6f | 63 61 74 65 20 61 20 6b |ed to lo|cate a k|
|000038d0| 65 79 20 77 6f 72 64 20 | 63 6f 64 65 20 61 64 64 |ey word |code add|
|000038e0| 72 65 73 73 2e 20 20 54 | 68 65 20 64 69 63 74 69 |ress. T|he dicti|
|000038f0| 6f 6e 61 72 79 20 70 6f | 69 6e 74 65 64 20 74 6f |onary po|inted to|
|00003900| 20 62 65 0a 3c 61 64 64 | 72 65 73 73 3e 20 77 69 | be.<add|ress> wi|
|00003910| 6c 6c 20 62 65 20 73 65 | 61 72 63 68 65 64 2e 20 |ll be se|arched. |
|00003920| 20 69 66 20 74 68 65 20 | 74 6f 6b 65 6e 20 69 73 | if the |token is|
|00003930| 20 66 6f 75 6e 64 20 74 | 68 65 6e 20 73 74 61 74 | found t|hen stat|
|00003940| 75 73 20 77 69 6c 6c 20 | 62 65 20 30 0a 61 6e 64 |us will |be 0.and|
|00003950| 20 74 68 65 20 61 64 64 | 72 65 73 73 20 6f 66 20 | the add|ress of |
|00003960| 74 68 65 20 72 6f 75 74 | 69 6e 65 20 77 69 6c 6c |the rout|ine will|
|00003970| 20 62 65 20 70 75 73 68 | 65 64 20 74 6f 20 74 68 | be push|ed to th|
|00003980| 65 20 73 74 61 63 6b 2c | 20 6f 74 68 65 72 77 69 |e stack,| otherwi|
|00003990| 73 65 20 61 0a 31 20 77 | 69 6c 6c 20 62 65 20 70 |se a.1 w|ill be p|
|000039a0| 75 73 68 65 64 2e 20 0a | 0a 43 6f 6d 6d 61 6e 64 |ushed. .|.Command|
|000039b0| 20 3a 20 30 0a 54 79 70 | 65 20 20 20 20 3a 20 63 | : 0.Typ|e : c|
|000039c0| 6f 6d 6d 61 6e 64 20 2f | 20 61 72 69 74 68 6d 65 |ommand /| arithme|
|000039d0| 74 69 63 0a 41 72 67 75 | 6d 65 6e 74 73 20 20 20 |tic.Argu|ments |
|000039e0| 20 20 20 20 3a 20 20 0a | 52 65 74 75 72 6e 73 20 | : .|Returns |
|000039f0| 3a 20 30 20 0a 44 65 73 | 63 72 69 70 74 69 6f 6e |: 0 .Des|cription|
|00003a00| 0a 70 75 73 68 65 73 20 | 61 20 7a 65 72 6f 20 6f |.pushes |a zero o|
|00003a10| 6e 74 6f 20 74 68 65 20 | 64 61 74 61 20 73 74 61 |nto the |data sta|
|00003a20| 63 6b 0a 0a 43 6f 6d 6d | 61 6e 64 20 3a 20 31 0a |ck..Comm|and : 1.|
|00003a30| 54 79 70 65 20 20 20 20 | 3a 20 63 6f 6d 6d 61 6e |Type |: comman|
|00003a40| 64 20 2f 20 61 72 69 74 | 68 6d 65 74 69 63 0a 41 |d / arit|hmetic.A|
|00003a50| 72 67 75 6d 65 6e 74 73 | 20 20 20 20 20 20 20 3a |rguments| :|
|00003a60| 20 20 0a 52 65 74 75 72 | 6e 73 20 3a 20 31 20 0a | .Retur|ns : 1 .|
|00003a70| 44 65 73 63 72 69 70 74 | 69 6f 6e 0a 70 75 73 68 |Descript|ion.push|
|00003a80| 65 73 20 61 20 31 20 6f | 6e 74 6f 20 64 61 74 61 |es a 1 o|nto data|
|00003a90| 20 73 74 61 63 6b 0a 0a | 43 6f 6d 6d 61 6e 64 20 | stack..|Command |
|00003aa0| 3a 20 2d 31 20 0a 54 79 | 70 65 20 20 20 20 3a 20 |: -1 .Ty|pe : |
|00003ab0| 63 6f 6d 6d 61 6e 64 20 | 2f 20 61 72 69 74 68 6d |command |/ arithm|
|00003ac0| 65 74 69 63 0a 41 72 67 | 75 6d 65 6e 74 73 20 20 |etic.Arg|uments |
|00003ad0| 20 20 20 20 20 3a 20 20 | 0a 52 65 74 75 72 6e 73 | : |.Returns|
|00003ae0| 20 3a 20 2d 31 20 0a 44 | 65 73 63 72 69 70 74 69 | : -1 .D|escripti|
|00003af0| 6f 6e 0a 70 75 73 68 65 | 73 20 2d 31 20 6f 6e 74 |on.pushe|s -1 ont|
|00003b00| 6f 20 74 68 65 20 64 61 | 74 61 20 73 74 61 63 6b |o the da|ta stack|
|00003b10| 0a 0a 0a 43 6f 6d 6d 61 | 6e 64 20 3a 20 31 2b 20 |...Comma|nd : 1+ |
|00003b20| 0a 54 79 70 65 20 20 20 | 20 3a 20 63 6f 6d 6d 61 |.Type | : comma|
|00003b30| 6e 64 20 2f 20 61 72 69 | 74 68 6d 65 74 69 63 0a |nd / ari|thmetic.|
|00003b40| 41 72 67 75 6d 65 6e 74 | 73 20 20 20 20 20 20 20 |Argument|s |
|00003b50| 3a 20 3c 65 6e 74 72 79 | 31 3e 20 0a 52 65 74 75 |: <entry|1> .Retu|
|00003b60| 72 6e 73 20 3a 20 3c 65 | 6e 74 72 79 31 3e 2b 31 |rns : <e|ntry1>+1|
|00003b70| 20 0a 44 65 73 63 72 69 | 70 74 69 6f 6e 0a 61 64 | .Descri|ption.ad|
|00003b80| 64 73 20 31 20 74 6f 20 | 74 6f 70 20 73 74 61 63 |ds 1 to |top stac|
|00003b90| 6b 20 65 6e 74 72 79 0a | 0a 43 6f 6d 6d 61 6e 64 |k entry.|.Command|
|00003ba0| 20 3a 20 31 2d 20 0a 54 | 79 70 65 20 20 20 20 3a | : 1- .T|ype :|
|00003bb0| 20 63 6f 6d 6d 61 6e 64 | 20 2f 20 61 72 69 74 68 | command| / arith|
|00003bc0| 6d 65 74 69 63 0a 41 72 | 67 75 6d 65 6e 74 73 20 |metic.Ar|guments |
|00003bd0| 20 20 20 20 20 20 3a 20 | 3c 65 6e 74 72 79 31 3e | : |<entry1>|
|00003be0| 20 0a 52 65 74 75 72 6e | 73 20 3a 20 3c 65 6e 74 | .Return|s : <ent|
|00003bf0| 72 79 31 3e 2d 31 20 0a | 44 65 73 63 72 69 70 74 |ry1>-1 .|Descript|
|00003c00| 69 6f 6e 0a 73 75 62 74 | 72 61 63 74 73 20 31 20 |ion.subt|racts 1 |
|00003c10| 66 72 6f 6d 20 74 68 65 | 20 74 6f 70 20 73 74 61 |from the| top sta|
|00003c20| 63 6b 20 65 6e 74 72 79 | 0a 0a 43 6f 6d 6d 61 6e |ck entry|..Comman|
|00003c30| 64 20 3a 20 32 2b 20 0a | 54 79 70 65 20 20 20 20 |d : 2+ .|Type |
|00003c40| 3a 20 63 6f 6d 6d 61 6e | 64 20 2f 20 61 72 69 74 |: comman|d / arit|
|00003c50| 68 6d 65 74 69 63 0a 41 | 72 67 75 6d 65 6e 74 73 |hmetic.A|rguments|
|00003c60| 20 20 20 20 20 20 20 3a | 20 3c 65 6e 74 72 79 31 | :| <entry1|
|00003c70| 3e 20 0a 52 65 74 75 72 | 6e 73 20 3a 20 3c 65 6e |> .Retur|ns : <en|
|00003c80| 74 72 79 31 3e 2b 32 20 | 0a 44 65 73 63 72 69 70 |try1>+2 |.Descrip|
|00003c90| 74 69 6f 6e 0a 61 64 64 | 73 20 32 20 74 6f 20 74 |tion.add|s 2 to t|
|00003ca0| 6f 70 20 73 74 61 63 6b | 20 65 6e 74 72 79 0a 0a |op stack| entry..|
|00003cb0| 43 6f 6d 6d 61 6e 64 20 | 3a 20 32 2d 20 0a 54 79 |Command |: 2- .Ty|
|00003cc0| 70 65 20 20 20 20 3a 20 | 63 6f 6d 6d 61 6e 64 20 |pe : |command |
|00003cd0| 2f 20 61 72 69 74 68 6d | 65 74 69 63 0a 41 72 67 |/ arithm|etic.Arg|
|00003ce0| 75 6d 65 6e 74 73 20 20 | 20 20 20 20 20 3a 20 3c |uments | : <|
|00003cf0| 65 6e 74 72 79 31 3e 20 | 0a 52 65 74 75 72 6e 73 |entry1> |.Returns|
|00003d00| 20 3a 20 3c 65 6e 74 72 | 79 31 3e 2d 32 20 0a 44 | : <entr|y1>-2 .D|
|00003d10| 65 73 63 72 69 70 74 69 | 6f 6e 0a 73 75 62 74 72 |escripti|on.subtr|
|00003d20| 61 63 74 73 20 32 20 66 | 72 6f 6d 20 74 68 65 20 |acts 2 f|rom the |
|00003d30| 74 6f 70 20 73 74 61 63 | 6b 20 65 6e 74 72 79 0a |top stac|k entry.|
|00003d40| 0a 43 6f 6d 6d 61 6e 64 | 20 3a 20 32 2a 20 0a 54 |.Command| : 2* .T|
|00003d50| 79 70 65 20 20 20 20 3a | 20 63 6f 6d 6d 61 6e 64 |ype :| command|
|00003d60| 20 2f 20 61 72 69 74 68 | 6d 65 74 69 63 0a 41 72 | / arith|metic.Ar|
|00003d70| 67 75 6d 65 6e 74 73 20 | 20 20 20 20 20 20 3a 20 |guments | : |
|00003d80| 3c 65 6e 74 72 79 31 3e | 20 0a 52 65 74 75 72 6e |<entry1>| .Return|
|00003d90| 73 20 3a 20 3c 65 6e 74 | 72 79 31 3e 2a 32 20 0a |s : <ent|ry1>*2 .|
|00003da0| 44 65 73 63 72 69 70 74 | 69 6f 6e 0a 6d 75 6c 74 |Descript|ion.mult|
|00003db0| 69 70 6c 69 65 73 20 74 | 6f 70 20 73 74 61 63 6b |iplies t|op stack|
|00003dc0| 20 65 6e 74 72 79 20 62 | 79 20 32 0a 43 6f 6d 6d | entry b|y 2.Comm|
|00003dd0| 61 6e 64 20 3a 20 32 2f | 20 0a 54 79 70 65 20 20 |and : 2/| .Type |
|00003de0| 20 20 3a 20 63 6f 6d 6d | 61 6e 64 20 2f 20 61 72 | : comm|and / ar|
|00003df0| 69 74 68 6d 65 74 69 63 | 0a 41 72 67 75 6d 65 6e |ithmetic|.Argumen|
|00003e00| 74 73 20 20 20 20 20 20 | 20 3a 20 3c 65 6e 74 72 |ts | : <entr|
|00003e10| 79 31 3e 20 0a 52 65 74 | 75 72 6e 73 20 3a 20 3c |y1> .Ret|urns : <|
|00003e20| 65 6e 74 72 79 31 3e 20 | 44 49 56 20 32 20 0a 44 |entry1> |DIV 2 .D|
|00003e30| 65 73 63 72 69 70 74 69 | 6f 6e 0a 64 69 76 69 64 |escripti|on.divid|
|00003e40| 65 73 20 74 6f 20 73 74 | 61 63 6b 20 65 6e 74 72 |es to st|ack entr|
|00003e50| 79 20 62 79 20 32 0a 0a | 43 6f 6d 6d 61 6e 64 20 |y by 2..|Command |
|00003e60| 3a 20 34 2b 20 0a 54 79 | 70 65 20 20 20 20 3a 20 |: 4+ .Ty|pe : |
|00003e70| 63 6f 6d 6d 61 6e 64 20 | 2f 20 61 72 69 74 68 6d |command |/ arithm|
|00003e80| 65 74 69 63 0a 41 72 67 | 75 6d 65 6e 74 73 20 20 |etic.Arg|uments |
|00003e90| 20 20 20 20 20 3a 20 3c | 65 6e 74 72 79 31 3e 20 | : <|entry1> |
|00003ea0| 0a 52 65 74 75 72 6e 73 | 3a 20 20 20 20 20 20 20 |.Returns|: |
|00003eb0| 20 20 3c 65 6e 74 72 79 | 31 3e 2b 34 20 0a 44 65 | <entry|1>+4 .De|
|00003ec0| 73 63 72 69 70 74 69 6f | 6e 0a 61 64 64 73 20 34 |scriptio|n.adds 4|
|00003ed0| 20 74 6f 20 74 6f 70 20 | 73 74 61 63 6b 20 65 6e | to top |stack en|
|00003ee0| 74 72 79 0a 0a 43 6f 6d | 6d 61 6e 64 20 3a 20 34 |try..Com|mand : 4|
|00003ef0| 2d 20 0a 54 79 70 65 20 | 20 20 20 3a 20 63 6f 6d |- .Type | : com|
|00003f00| 6d 61 6e 64 20 2f 20 61 | 72 69 74 68 6d 65 74 69 |mand / a|rithmeti|
|00003f10| 63 0a 41 72 67 75 6d 65 | 6e 74 73 20 20 20 20 20 |c.Argume|nts |
|00003f20| 20 20 3a 20 3c 65 6e 74 | 72 79 31 3e 20 0a 52 65 | : <ent|ry1> .Re|
|00003f30| 74 75 72 6e 73 20 3a 20 | 3c 65 6e 74 72 79 31 3e |turns : |<entry1>|
|00003f40| 2d 34 20 0a 44 65 73 63 | 72 69 70 74 69 6f 6e 0a |-4 .Desc|ription.|
|00003f50| 73 75 62 74 72 61 63 74 | 73 20 34 20 66 72 6f 6d |subtract|s 4 from|
|00003f60| 20 74 68 65 20 74 6f 70 | 20 73 74 61 63 6b 20 65 | the top| stack e|
|00003f70| 6e 74 72 79 0a 0a 43 6f | 6d 6d 61 6e 64 20 3a 20 |ntry..Co|mmand : |
|00003f80| 34 2a 20 0a 54 79 70 65 | 20 20 20 20 3a 20 63 6f |4* .Type| : co|
|00003f90| 6d 6d 61 6e 64 20 2f 20 | 61 72 69 74 68 6d 65 74 |mmand / |arithmet|
|00003fa0| 69 63 0a 41 72 67 75 6d | 65 6e 74 73 20 20 20 20 |ic.Argum|ents |
|00003fb0| 20 20 20 3a 20 3c 65 6e | 74 72 79 31 3e 20 0a 52 | : <en|try1> .R|
|00003fc0| 65 74 75 72 6e 73 20 3a | 20 3c 65 6e 74 72 79 31 |eturns :| <entry1|
|00003fd0| 3e 2a 34 20 0a 44 65 73 | 63 72 69 70 74 69 6f 6e |>*4 .Des|cription|
|00003fe0| 0a 6d 75 6c 74 69 70 6c | 69 65 73 20 74 6f 20 73 |.multipl|ies to s|
|00003ff0| 74 61 63 6b 20 65 6e 74 | 72 79 20 62 79 20 34 0a |tack ent|ry by 4.|
|00004000| 0a 43 6f 6d 6d 61 6e 64 | 20 3a 20 34 2f 20 0a 54 |.Command| : 4/ .T|
|00004010| 79 70 65 20 20 20 20 3a | 20 63 6f 6d 6d 61 6e 64 |ype :| command|
|00004020| 20 2f 20 61 72 69 74 68 | 6d 65 74 69 63 0a 41 72 | / arith|metic.Ar|
|00004030| 67 75 6d 65 6e 74 73 20 | 20 20 20 20 20 20 3a 20 |guments | : |
|00004040| 3c 65 6e 74 72 79 31 3e | 20 0a 52 65 74 75 72 6e |<entry1>| .Return|
|00004050| 73 20 3a 20 3c 65 6e 74 | 72 79 31 3e 20 44 49 56 |s : <ent|ry1> DIV|
|00004060| 20 34 20 0a 44 65 73 63 | 72 69 70 74 69 6f 6e 0a | 4 .Desc|ription.|
|00004070| 64 69 76 69 64 65 73 20 | 74 6f 70 20 73 74 61 63 |divides |top stac|
|00004080| 6b 20 65 6e 74 72 79 20 | 62 79 20 34 0a 43 6f 6d |k entry |by 4.Com|
|00004090| 6d 61 6e 64 20 3a 20 2b | 0a 54 79 70 65 20 20 20 |mand : +|.Type |
|000040a0| 20 3a 20 63 6f 6d 6d 61 | 6e 64 20 2f 20 61 72 69 | : comma|nd / ari|
|000040b0| 74 68 6d 65 74 69 63 0a | 41 72 67 75 6d 65 6e 74 |thmetic.|Argument|
|000040c0| 73 20 20 20 20 20 20 20 | 3a 20 3c 65 6e 74 72 79 |s |: <entry|
|000040d0| 31 3e 20 3c 65 6e 74 72 | 79 32 3e 20 0a 52 65 74 |1> <entr|y2> .Ret|
|000040e0| 75 72 6e 73 20 3a 20 3c | 65 6e 74 72 79 31 3e 2b |urns : <|entry1>+|
|000040f0| 3c 65 6e 74 72 79 32 3e | 20 0a 44 65 73 63 72 69 |<entry2>| .Descri|
|00004100| 70 74 69 6f 6e 0a 61 64 | 64 73 20 74 6f 70 20 32 |ption.ad|ds top 2|
|00004110| 20 73 74 61 63 6b 20 65 | 6e 74 72 69 65 73 20 61 | stack e|ntries a|
|00004120| 6e 64 20 70 75 73 68 65 | 73 20 74 68 65 20 72 65 |nd pushe|s the re|
|00004130| 73 75 6c 74 0a 0a 43 6f | 6d 6d 61 6e 64 20 3a 20 |sult..Co|mmand : |
|00004140| 2d 0a 54 79 70 65 20 20 | 20 20 3a 20 63 6f 6d 6d |-.Type | : comm|
|00004150| 61 6e 64 20 2f 20 61 72 | 69 74 68 6d 65 74 69 63 |and / ar|ithmetic|
|00004160| 0a 41 72 67 75 6d 65 6e | 74 73 20 20 20 20 20 20 |.Argumen|ts |
|00004170| 20 3a 20 3c 65 6e 74 72 | 79 31 3e 20 3c 65 6e 74 | : <entr|y1> <ent|
|00004180| 72 79 32 3e 20 0a 52 65 | 74 75 72 6e 73 20 3a 20 |ry2> .Re|turns : |
|00004190| 3c 65 6e 74 72 79 32 3e | 2d 3c 65 6e 74 72 79 31 |<entry2>|-<entry1|
|000041a0| 3e 20 20 0a 44 65 73 63 | 72 69 70 74 69 6f 6e 0a |> .Desc|ription.|
|000041b0| 73 75 62 74 72 61 63 74 | 73 20 74 6f 70 20 32 20 |subtract|s top 2 |
|000041c0| 73 74 61 63 6b 20 65 6e | 74 72 69 65 73 20 61 6e |stack en|tries an|
|000041d0| 64 20 70 75 73 68 65 73 | 20 72 65 73 75 6c 74 0a |d pushes| result.|
|000041e0| 0a 43 6f 6d 6d 61 6e 64 | 20 3a 20 2a 0a 54 79 70 |.Command| : *.Typ|
|000041f0| 65 20 20 20 20 3a 20 63 | 6f 6d 6d 61 6e 64 20 2f |e : c|ommand /|
|00004200| 20 61 72 69 74 68 6d 65 | 74 69 63 0a 41 72 67 75 | arithme|tic.Argu|
|00004210| 6d 65 6e 74 73 20 20 20 | 20 20 20 20 3a 20 3c 65 |ments | : <e|
|00004220| 6e 74 72 79 31 3e 20 3c | 65 6e 74 72 79 32 3e 20 |ntry1> <|entry2> |
|00004230| 0a 52 65 74 75 72 6e 73 | 20 3a 20 3c 65 6e 74 72 |.Returns| : <entr|
|00004240| 79 32 3e 2a 3c 65 6e 74 | 72 79 31 3e 20 20 0a 44 |y2>*<ent|ry1> .D|
|00004250| 65 73 63 72 69 70 74 69 | 6f 6e 0a 6d 75 6c 74 69 |escripti|on.multi|
|00004260| 70 6c 79 20 70 72 6f 64 | 75 63 65 73 20 61 20 33 |ply prod|uces a 3|
|00004270| 32 20 62 69 74 20 72 65 | 73 75 6c 74 0a 0a 43 6f |2 bit re|sult..Co|
|00004280| 6d 6d 61 6e 64 20 3a 20 | 2f 0a 54 79 70 65 20 20 |mmand : |/.Type |
|00004290| 20 20 3a 20 63 6f 6d 6d | 61 6e 64 20 2f 20 61 72 | : comm|and / ar|
|000042a0| 69 74 68 6d 65 74 69 63 | 0a 41 72 67 75 6d 65 6e |ithmetic|.Argumen|
|000042b0| 74 73 20 20 20 20 20 20 | 20 3a 20 3c 65 6e 74 72 |ts | : <entr|
|000042c0| 79 31 3e 20 3c 65 6e 74 | 72 79 32 3e 20 0a 52 65 |y1> <ent|ry2> .Re|
|000042d0| 74 75 72 6e 73 20 3a 20 | 3c 65 6e 74 72 79 32 3e |turns : |<entry2>|
|000042e0| 44 49 56 3c 65 6e 74 72 | 79 31 3e 20 3c 65 6e 74 |DIV<entr|y1> <ent|
|000042f0| 72 79 32 3e 4d 4f 44 3c | 65 6e 74 72 79 31 3e 20 |ry2>MOD<|entry1> |
|00004300| 20 0a 44 65 73 63 72 69 | 70 74 69 6f 6e 0a 64 69 | .Descri|ption.di|
|00004310| 76 69 64 65 73 20 32 6e | 64 20 65 6e 74 72 79 20 |vides 2n|d entry |
|00004320| 62 79 20 66 69 72 73 74 | 20 61 6e 64 20 6c 65 61 |by first| and lea|
|00004330| 76 65 73 20 44 49 56 20 | 61 6e 64 20 4d 4f 44 20 |ves DIV |and MOD |
|00004340| 6f 6e 20 73 74 61 63 6b | 0a 0a 43 6f 6d 6d 61 6e |on stack|..Comman|
|00004350| 64 20 3a 20 61 62 73 0a | 54 79 70 65 20 20 20 20 |d : abs.|Type |
|00004360| 3a 20 63 6f 6d 6d 61 6e | 64 20 2f 20 61 72 69 74 |: comman|d / arit|
|00004370| 68 6d 65 74 69 63 0a 41 | 72 67 75 6d 65 6e 74 73 |hmetic.A|rguments|
|00004380| 20 20 20 20 20 20 20 3a | 20 3c 65 6e 74 72 79 31 | :| <entry1|
|00004390| 3e 20 0a 52 65 74 75 72 | 6e 73 20 3a 20 3c 65 6e |> .Retur|ns : <en|
|000043a0| 74 72 79 31 3e 20 0a 44 | 65 73 63 72 69 70 74 69 |try1> .D|escripti|
|000043b0| 6f 6e 0a 69 66 20 6e 65 | 67 61 74 69 76 65 20 6d |on.if ne|gative m|
|000043c0| 61 6b 65 73 20 65 6e 74 | 72 79 20 70 6f 73 69 74 |akes ent|ry posit|
|000043d0| 69 76 65 0a 43 6f 6d 6d | 61 6e 64 20 3a 20 6d 69 |ive.Comm|and : mi|
|000043e0| 6e 75 73 0a 54 79 70 65 | 20 20 20 20 3a 20 63 6f |nus.Type| : co|
|000043f0| 6d 6d 61 6e 64 20 2f 20 | 61 72 69 74 68 6d 65 74 |mmand / |arithmet|
|00004400| 69 63 0a 41 72 67 75 6d | 65 6e 74 73 20 20 20 20 |ic.Argum|ents |
|00004410| 20 20 20 3a 20 3c 65 6e | 74 72 79 31 3e 20 0a 52 | : <en|try1> .R|
|00004420| 65 74 75 72 6e 73 20 3a | 20 2d 3c 65 6e 74 72 79 |eturns :| -<entry|
|00004430| 31 3e 20 0a 44 65 73 63 | 72 69 70 74 69 6f 6e 0a |1> .Desc|ription.|
|00004440| 63 68 61 6e 67 65 73 20 | 73 69 67 6e 20 6f 66 20 |changes |sign of |
|00004450| 74 6f 70 20 73 74 61 63 | 6b 20 65 6e 74 72 79 0a |top stac|k entry.|
|00004460| 0a 43 6f 6d 6d 61 6e 64 | 20 3a 20 6d 69 6e 0a 54 |.Command| : min.T|
|00004470| 79 70 65 20 20 20 20 3a | 20 63 6f 6d 6d 61 6e 64 |ype :| command|
|00004480| 20 2f 20 61 72 69 74 68 | 6d 65 74 69 63 0a 41 72 | / arith|metic.Ar|
|00004490| 67 75 6d 65 6e 74 73 20 | 20 20 20 20 20 20 3a 20 |guments | : |
|000044a0| 3c 65 6e 74 72 79 31 3e | 20 3c 65 6e 74 72 79 32 |<entry1>| <entry2|
|000044b0| 3e 20 0a 52 65 74 75 72 | 6e 73 20 3a 20 3c 65 6e |> .Retur|ns : <en|
|000044c0| 74 72 79 3e 20 0a 44 65 | 73 63 72 69 70 74 69 6f |try> .De|scriptio|
|000044d0| 6e 0a 6c 65 61 76 65 73 | 20 74 68 65 20 73 6d 61 |n.leaves| the sma|
|000044e0| 6c 6c 65 72 20 6f 66 20 | 74 68 65 20 32 20 74 6f |ller of |the 2 to|
|000044f0| 70 20 65 6e 74 72 69 65 | 73 20 6f 6e 20 74 68 65 |p entrie|s on the|
|00004500| 20 73 74 61 63 6b 0a 0a | 43 6f 6d 6d 61 6e 64 20 | stack..|Command |
|00004510| 3a 20 6d 61 78 0a 54 79 | 70 65 20 20 20 20 3a 20 |: max.Ty|pe : |
|00004520| 63 6f 6d 6d 61 6e 64 20 | 2f 20 61 72 69 74 68 6d |command |/ arithm|
|00004530| 65 74 69 63 0a 41 72 67 | 75 6d 65 6e 74 73 20 20 |etic.Arg|uments |
|00004540| 20 20 20 20 20 3a 20 3c | 65 6e 74 72 79 31 3e 20 | : <|entry1> |
|00004550| 3c 65 6e 74 72 79 32 3e | 20 0a 52 65 74 75 72 6e |<entry2>| .Return|
|00004560| 73 20 3a 20 3c 65 6e 74 | 72 79 3e 20 0a 44 65 73 |s : <ent|ry> .Des|
|00004570| 63 72 69 70 74 69 6f 6e | 0a 6c 65 61 76 65 73 20 |cription|.leaves |
|00004580| 74 68 65 20 6c 61 72 67 | 65 72 20 6f 66 20 74 68 |the larg|er of th|
|00004590| 65 20 32 20 74 6f 70 20 | 65 6e 74 72 69 65 73 20 |e 2 top |entries |
|000045a0| 6f 6e 20 74 68 65 20 73 | 74 61 63 6b 0a 0a 43 6f |on the s|tack..Co|
|000045b0| 6d 6d 61 6e 64 20 3a 20 | 3c 3c 0a 54 79 70 65 20 |mmand : |<<.Type |
|000045c0| 20 20 20 3a 20 63 6f 6d | 6d 61 6e 64 20 2f 20 61 | : com|mand / a|
|000045d0| 72 69 74 68 6d 65 74 69 | 63 0a 41 72 67 75 6d 65 |rithmeti|c.Argume|
|000045e0| 6e 74 73 20 20 20 20 20 | 20 20 3a 20 3c 65 6e 74 |nts | : <ent|
|000045f0| 72 79 31 3e 20 3c 65 6e | 74 72 79 32 3e 20 0a 52 |ry1> <en|try2> .R|
|00004600| 65 74 75 72 6e 73 20 3a | 20 3c 65 6e 74 72 79 3e |eturns :| <entry>|
|00004610| 20 0a 44 65 73 63 72 69 | 70 74 69 6f 6e 0a 6c 65 | .Descri|ption.le|
|00004620| 61 76 65 73 20 3c 65 6e | 74 72 79 32 3e 20 6c 65 |aves <en|try2> le|
|00004630| 66 74 20 73 68 69 66 74 | 65 64 20 62 79 20 3c 65 |ft shift|ed by <e|
|00004640| 6e 74 72 79 31 3e 20 62 | 69 74 73 20 6f 6e 20 74 |ntry1> b|its on t|
|00004650| 68 65 20 73 74 61 63 6b | 0a 0a 43 6f 6d 6d 61 6e |he stack|..Comman|
|00004660| 64 20 3a 20 3e 3e 0a 54 | 79 70 65 20 20 20 20 3a |d : >>.T|ype :|
|00004670| 20 63 6f 6d 6d 61 6e 64 | 20 2f 20 61 72 69 74 68 | command| / arith|
|00004680| 6d 65 74 69 63 0a 41 72 | 67 75 6d 65 6e 74 73 20 |metic.Ar|guments |
|00004690| 20 20 20 20 20 20 3a 20 | 3c 65 6e 74 72 79 31 3e | : |<entry1>|
|000046a0| 20 3c 65 6e 74 72 79 32 | 3e 20 0a 52 65 74 75 72 | <entry2|> .Retur|
|000046b0| 6e 73 20 3a 20 3c 65 6e | 74 72 79 3e 20 0a 44 65 |ns : <en|try> .De|
|000046c0| 73 63 72 69 70 74 69 6f | 6e 0a 6c 65 61 76 65 73 |scriptio|n.leaves|
|000046d0| 20 3c 65 6e 74 72 79 32 | 3e 20 72 69 67 68 74 20 | <entry2|> right |
|000046e0| 73 68 69 66 74 65 64 20 | 62 79 20 3c 65 6e 74 72 |shifted |by <entr|
|000046f0| 79 31 3e 20 62 69 74 73 | 20 6f 6e 20 74 68 65 20 |y1> bits| on the |
|00004700| 73 74 61 63 6b 20 0a 43 | 6f 6d 6d 61 6e 64 20 3a |stack .C|ommand :|
|00004710| 20 6e 6f 74 0a 54 79 70 | 65 20 20 20 20 3a 20 63 | not.Typ|e : c|
|00004720| 6f 6d 6d 61 6e 64 20 2f | 20 6c 6f 67 69 63 0a 41 |ommand /| logic.A|
|00004730| 72 67 75 6d 65 6e 74 73 | 20 20 20 20 20 20 20 3a |rguments| :|
|00004740| 20 3c 65 6e 74 72 79 3e | 20 0a 52 65 74 75 72 6e | <entry>| .Return|
|00004750| 73 20 3a 20 3c 65 6e 74 | 72 79 3e 20 0a 44 65 73 |s : <ent|ry> .Des|
|00004760| 63 72 69 70 74 69 6f 6e | 0a 69 66 20 74 6f 70 20 |cription|.if top |
|00004770| 73 74 61 63 6b 20 65 6e | 74 72 79 20 69 73 20 6e |stack en|try is n|
|00004780| 6f 74 20 7a 65 72 6f 20 | 74 68 65 6e 20 70 75 73 |ot zero |then pus|
|00004790| 68 20 31 20 65 6c 73 65 | 20 70 75 73 68 20 30 0a |h 1 else| push 0.|
|000047a0| 0a 43 6f 6d 6d 61 6e 64 | 20 3a 20 61 6e 64 0a 54 |.Command| : and.T|
|000047b0| 79 70 65 20 20 20 20 3a | 20 63 6f 6d 6d 61 6e 64 |ype :| command|
|000047c0| 20 2f 20 6c 6f 67 69 63 | 0a 41 72 67 75 6d 65 6e | / logic|.Argumen|
|000047d0| 74 73 20 20 20 20 20 20 | 20 3a 20 3c 65 6e 74 72 |ts | : <entr|
|000047e0| 79 31 3e 20 3c 65 6e 74 | 72 79 32 3e 20 0a 52 65 |y1> <ent|ry2> .Re|
|000047f0| 74 75 72 6e 73 20 3a 20 | 3c 65 6e 74 72 79 3e 20 |turns : |<entry> |
|00004800| 0a 44 65 73 63 72 69 70 | 74 69 6f 6e 0a 72 65 70 |.Descrip|tion.rep|
|00004810| 6c 61 63 65 73 20 74 68 | 65 20 74 6f 70 20 32 20 |laces th|e top 2 |
|00004820| 73 74 61 63 6b 20 65 6e | 74 72 69 65 73 20 62 79 |stack en|tries by|
|00004830| 20 74 68 65 20 62 69 74 | 77 69 73 65 20 41 4e 44 | the bit|wise AND|
|00004840| 20 6f 66 20 74 68 65 6d | 2e 0a 0a 43 6f 6d 6d 61 | of them|...Comma|
|00004850| 6e 64 20 3a 20 65 6f 72 | 0a 54 79 70 65 20 20 20 |nd : eor|.Type |
|00004860| 20 3a 20 63 6f 6d 6d 61 | 6e 64 20 2f 20 6c 6f 67 | : comma|nd / log|
|00004870| 69 63 0a 41 72 67 75 6d | 65 6e 74 73 20 20 20 20 |ic.Argum|ents |
|00004880| 20 20 20 3a 20 3c 65 6e | 74 72 79 31 3e 20 3c 65 | : <en|try1> <e|
|00004890| 6e 74 72 79 32 3e 20 0a | 52 65 74 75 72 6e 73 20 |ntry2> .|Returns |
|000048a0| 3a 20 3c 65 6e 74 72 79 | 3e 20 0a 44 65 73 63 72 |: <entry|> .Descr|
|000048b0| 69 70 74 69 6f 6e 0a 72 | 65 70 6c 61 63 65 73 20 |iption.r|eplaces |
|000048c0| 74 68 65 20 74 6f 70 20 | 32 20 73 74 61 63 6b 20 |the top |2 stack |
|000048d0| 65 6e 74 72 69 65 73 20 | 62 79 20 74 68 65 20 62 |entries |by the b|
|000048e0| 69 74 77 69 73 65 20 45 | 4f 52 20 6f 66 20 74 68 |itwise E|OR of th|
|000048f0| 65 6d 0a 0a 43 6f 6d 6d | 61 6e 64 20 3a 20 6f 72 |em..Comm|and : or|
|00004900| 0a 54 79 70 65 20 20 20 | 20 3a 20 63 6f 6d 6d 61 |.Type | : comma|
|00004910| 6e 64 20 2f 20 6c 6f 67 | 69 63 0a 41 72 67 75 6d |nd / log|ic.Argum|
|00004920| 65 6e 74 73 20 20 20 20 | 20 20 20 3a 20 3c 65 6e |ents | : <en|
|00004930| 74 72 79 31 3e 20 3c 65 | 6e 74 72 79 32 3e 20 0a |try1> <e|ntry2> .|
|00004940| 52 65 74 75 72 6e 73 20 | 3a 20 3c 65 6e 74 72 79 |Returns |: <entry|
|00004950| 3e 20 0a 44 65 73 63 72 | 69 70 74 69 6f 6e 0a 72 |> .Descr|iption.r|
|00004960| 65 70 6c 61 63 65 73 20 | 74 68 65 20 74 6f 70 20 |eplaces |the top |
|00004970| 32 20 73 74 61 63 6b 20 | 65 6e 74 72 69 65 73 20 |2 stack |entries |
|00004980| 62 79 20 74 68 65 20 62 | 69 74 77 69 73 65 20 4f |by the b|itwise O|
|00004990| 52 20 6f 66 20 74 68 65 | 6d 0a 0a 43 6f 6d 6d 61 |R of the|m..Comma|
|000049a0| 6e 64 20 3a 20 62 69 63 | 0a 54 79 70 65 20 20 20 |nd : bic|.Type |
|000049b0| 20 3a 20 63 6f 6d 6d 61 | 6e 64 20 2f 20 6c 6f 67 | : comma|nd / log|
|000049c0| 69 63 0a 41 72 67 75 6d | 65 6e 74 73 20 20 20 20 |ic.Argum|ents |
|000049d0| 20 20 20 3a 20 3c 65 6e | 74 72 79 31 3e 20 3c 65 | : <en|try1> <e|
|000049e0| 6e 74 72 79 32 3e 20 0a | 52 65 74 75 72 6e 73 20 |ntry2> .|Returns |
|000049f0| 3a 20 3c 65 6e 74 72 79 | 3e 20 0a 44 65 73 63 72 |: <entry|> .Descr|
|00004a00| 69 70 74 69 6f 6e 0a 63 | 6c 65 61 72 73 20 62 69 |iption.c|lears bi|
|00004a10| 74 73 20 69 6e 20 65 6e | 74 72 79 32 20 74 68 61 |ts in en|try2 tha|
|00004a20| 74 20 61 72 65 20 73 65 | 74 20 69 6e 20 65 6e 74 |t are se|t in ent|
|00004a30| 72 79 20 31 0a 43 6f 6d | 6d 61 6e 64 20 3a 20 74 |ry 1.Com|mand : t|
|00004a40| 73 74 0a 54 79 70 65 20 | 20 20 20 3a 20 63 6f 6d |st.Type | : com|
|00004a50| 6d 61 6e 64 20 2f 20 6c | 6f 67 69 63 0a 41 72 67 |mand / l|ogic.Arg|
|00004a60| 75 6d 65 6e 74 73 20 20 | 20 20 20 20 20 3a 20 3c |uments | : <|
|00004a70| 65 6e 74 72 79 31 3e 20 | 3c 65 6e 74 72 79 32 3e |entry1> |<entry2>|
|00004a80| 20 0a 52 65 74 75 72 6e | 73 20 3a 20 3c 65 6e 74 | .Return|s : <ent|
|00004a90| 72 79 3e 20 0a 44 65 73 | 63 72 69 70 74 69 6f 6e |ry> .Des|cription|
|00004aa0| 0a 69 66 20 62 69 74 20 | 6e 75 6d 62 65 72 20 3c |.if bit |number <|
|00004ab0| 65 6e 74 72 79 31 3e 20 | 69 6e 20 65 6e 74 72 79 |entry1> |in entry|
|00004ac0| 32 20 69 73 20 73 65 74 | 20 74 68 65 6e 20 70 75 |2 is set| then pu|
|00004ad0| 73 68 20 31 20 65 6c 73 | 65 20 70 75 73 68 20 30 |sh 1 els|e push 0|
|00004ae0| 0a 0a 43 6f 6d 6d 61 6e | 64 20 3a 20 72 6f 72 0a |..Comman|d : ror.|
|00004af0| 54 79 70 65 20 20 20 20 | 3a 20 63 6f 6d 6d 61 6e |Type |: comman|
|00004b00| 64 20 2f 20 6c 6f 67 69 | 63 0a 41 72 67 75 6d 65 |d / logi|c.Argume|
|00004b10| 6e 74 73 20 20 20 20 20 | 20 20 3a 20 20 3c 65 6e |nts | : <en|
|00004b20| 74 72 79 31 3e 20 3c 65 | 6e 74 72 79 32 3e 0a 52 |try1> <e|ntry2>.R|
|00004b30| 65 74 75 72 6e 73 20 3a | 20 20 3c 65 6e 74 72 79 |eturns :| <entry|
|00004b40| 3e 0a 44 65 73 63 72 69 | 70 74 69 6f 6e 0a 72 6f |>.Descri|ption.ro|
|00004b50| 74 61 74 65 20 3c 65 6e | 74 72 79 32 3e 20 62 79 |tate <en|try2> by|
|00004b60| 20 3c 65 6e 74 72 79 31 | 3e 20 62 69 74 73 20 72 | <entry1|> bits r|
|00004b70| 69 67 68 74 20 61 6e 64 | 20 70 75 73 68 20 72 65 |ight and| push re|
|00004b80| 73 75 6c 74 20 6f 6e 74 | 6f 20 73 74 61 63 6b 2e |sult ont|o stack.|
|00004b90| 0a 0a 43 6f 6d 6d 61 6e | 64 20 3a 20 3e 0a 54 79 |..Comman|d : >.Ty|
|00004ba0| 70 65 20 20 20 20 3a 20 | 63 6f 6d 6d 61 6e 64 20 |pe : |command |
|00004bb0| 2f 20 63 6f 6e 74 72 6f | 6c 0a 41 72 67 75 6d 65 |/ contro|l.Argume|
|00004bc0| 6e 74 73 20 20 20 20 20 | 20 20 3a 20 3c 65 6e 74 |nts | : <ent|
|00004bd0| 72 79 31 3e 20 3c 65 6e | 74 72 79 32 3e 20 0a 52 |ry1> <en|try2> .R|
|00004be0| 65 74 75 72 6e 73 20 3a | 20 3c 65 6e 74 72 79 3e |eturns :| <entry>|
|00004bf0| 20 0a 44 65 73 63 72 69 | 70 74 69 6f 6e 0a 69 66 | .Descri|ption.if|
|00004c00| 20 65 6e 74 72 79 32 20 | 3e 20 65 6e 74 72 79 31 | entry2 |> entry1|
|00004c10| 20 74 68 65 6e 20 70 75 | 73 68 20 31 20 65 6c 73 | then pu|sh 1 els|
|00004c20| 65 20 70 75 73 68 20 30 | 0a 0a 43 6f 6d 6d 61 6e |e push 0|..Comman|
|00004c30| 64 3a 20 3e 3d 0a 54 79 | 70 65 20 20 20 20 3a 20 |d: >=.Ty|pe : |
|00004c40| 63 6f 6d 6d 61 6e 64 20 | 2f 20 63 6f 6e 74 72 6f |command |/ contro|
|00004c50| 6c 0a 41 72 67 75 6d 65 | 6e 74 73 20 20 20 20 20 |l.Argume|nts |
|00004c60| 20 20 3a 20 3c 65 6e 74 | 72 79 31 3e 20 3c 65 6e | : <ent|ry1> <en|
|00004c70| 74 72 79 32 3e 20 0a 52 | 65 74 75 72 6e 73 20 3a |try2> .R|eturns :|
|00004c80| 20 3c 65 6e 74 72 79 3e | 20 0a 44 65 73 63 72 69 | <entry>| .Descri|
|00004c90| 70 74 69 6f 6e 0a 69 66 | 20 65 6e 74 72 79 32 20 |ption.if| entry2 |
|00004ca0| 3e 3d 20 65 6e 74 72 79 | 31 20 74 68 65 6e 20 70 |>= entry|1 then p|
|00004cb0| 75 73 68 20 31 20 65 6c | 73 65 20 70 75 73 68 20 |ush 1 el|se push |
|00004cc0| 30 0a 0a 43 6f 6d 6d 61 | 6e 64 20 3a 20 3c 0a 54 |0..Comma|nd : <.T|
|00004cd0| 79 70 65 20 20 20 20 3a | 20 63 6f 6d 6d 61 6e 64 |ype :| command|
|00004ce0| 20 2f 20 63 6f 6e 74 72 | 6f 6c 0a 41 72 67 75 6d | / contr|ol.Argum|
|00004cf0| 65 6e 74 73 20 20 20 20 | 20 20 20 3a 20 3c 65 6e |ents | : <en|
|00004d00| 74 72 79 31 3e 20 3c 65 | 6e 74 72 79 32 3e 20 0a |try1> <e|ntry2> .|
|00004d10| 52 65 74 75 72 6e 73 20 | 3a 20 3c 65 6e 74 72 79 |Returns |: <entry|
|00004d20| 3e 20 0a 44 65 73 63 72 | 69 70 74 69 6f 6e 0a 69 |> .Descr|iption.i|
|00004d30| 66 20 65 6e 74 72 79 32 | 20 3c 20 65 6e 74 72 79 |f entry2| < entry|
|00004d40| 31 20 74 68 65 6e 20 70 | 75 73 68 20 31 20 65 6c |1 then p|ush 1 el|
|00004d50| 73 65 20 70 75 73 68 20 | 30 0a 0a 43 6f 6d 6d 61 |se push |0..Comma|
|00004d60| 6e 64 20 3a 20 3c 3d 0a | 54 79 70 65 20 20 20 20 |nd : <=.|Type |
|00004d70| 3a 20 63 6f 6d 6d 61 6e | 64 20 2f 20 63 6f 6e 74 |: comman|d / cont|
|00004d80| 72 6f 6c 20 0a 41 72 67 | 75 6d 65 6e 74 73 20 20 |rol .Arg|uments |
|00004d90| 20 20 20 20 20 3a 20 3c | 65 6e 74 72 79 31 3e 20 | : <|entry1> |
|00004da0| 3c 65 6e 74 72 79 32 3e | 20 0a 52 65 74 75 72 6e |<entry2>| .Return|
|00004db0| 73 20 3a 20 3c 65 6e 74 | 72 79 3e 20 0a 44 65 73 |s : <ent|ry> .Des|
|00004dc0| 63 72 69 70 74 69 6f 6e | 0a 69 66 20 65 6e 74 72 |cription|.if entr|
|00004dd0| 79 32 20 3c 3d 20 65 6e | 74 72 79 31 20 74 68 65 |y2 <= en|try1 the|
|00004de0| 6e 20 70 75 73 68 20 31 | 20 65 6c 73 65 20 70 75 |n push 1| else pu|
|00004df0| 73 68 20 30 0a 0a 43 6f | 6d 6d 61 6e 64 20 3a 20 |sh 0..Co|mmand : |
|00004e00| 3d 0a 54 79 70 65 20 20 | 20 20 3a 20 63 6f 6d 6d |=.Type | : comm|
|00004e10| 61 6e 64 20 2f 20 63 6f | 6e 74 72 6f 6c 0a 41 72 |and / co|ntrol.Ar|
|00004e20| 67 75 6d 65 6e 74 73 20 | 20 20 20 20 20 20 3a 20 |guments | : |
|00004e30| 3c 65 6e 74 72 79 31 3e | 20 3c 65 6e 74 72 79 32 |<entry1>| <entry2|
|00004e40| 3e 20 0a 52 65 74 75 72 | 6e 73 20 3a 20 3c 65 6e |> .Retur|ns : <en|
|00004e50| 74 72 79 3e 20 0a 44 65 | 73 63 72 69 70 74 69 6f |try> .De|scriptio|
|00004e60| 6e 0a 69 66 20 65 6e 74 | 72 79 32 20 3d 20 65 6e |n.if ent|ry2 = en|
|00004e70| 74 72 79 31 20 74 68 65 | 6e 20 70 75 73 68 20 31 |try1 the|n push 1|
|00004e80| 20 65 6c 73 65 20 70 75 | 73 68 20 30 0a 0a 43 6f | else pu|sh 0..Co|
|00004e90| 6d 6d 61 6e 64 20 3a 20 | 3c 3e 0a 54 79 70 65 20 |mmand : |<>.Type |
|00004ea0| 20 20 20 3a 20 63 6f 6d | 6d 61 6e 64 20 2f 20 63 | : com|mand / c|
|00004eb0| 6f 6e 74 72 6f 6c 0a 41 | 72 67 75 6d 65 6e 74 73 |ontrol.A|rguments|
|00004ec0| 20 20 20 20 20 20 20 3a | 20 3c 65 6e 74 72 79 31 | :| <entry1|
|00004ed0| 3e 20 3c 65 6e 74 72 79 | 32 3e 20 0a 52 65 74 75 |> <entry|2> .Retu|
|00004ee0| 72 6e 73 20 3a 20 3c 65 | 6e 74 72 79 3e 20 0a 44 |rns : <e|ntry> .D|
|00004ef0| 65 73 63 72 69 70 74 69 | 6f 6e 0a 69 66 20 65 6e |escripti|on.if en|
|00004f00| 74 72 79 32 20 3c 3e 20 | 65 6e 74 72 79 31 20 74 |try2 <> |entry1 t|
|00004f10| 68 65 6e 20 70 75 73 68 | 20 31 20 65 6c 73 65 20 |hen push| 1 else |
|00004f20| 70 75 73 68 20 30 0a 0a | 43 6f 6d 6d 61 6e 64 20 |push 0..|Command |
|00004f30| 3a 20 30 3d 0a 54 79 70 | 65 20 20 20 20 3a 20 63 |: 0=.Typ|e : c|
|00004f40| 6f 6d 6d 61 6e 64 20 2f | 20 63 6f 6e 74 72 6f 6c |ommand /| control|
|00004f50| 0a 41 72 67 75 6d 65 6e | 74 73 20 20 20 20 20 20 |.Argumen|ts |
|00004f60| 20 3a 20 3c 65 6e 74 72 | 79 31 3e 20 0a 52 65 74 | : <entr|y1> .Ret|
|00004f70| 75 72 6e 73 20 3a 20 3c | 65 6e 74 72 79 3e 20 0a |urns : <|entry> .|
|00004f80| 44 65 73 63 72 69 70 74 | 69 6f 6e 0a 69 66 20 65 |Descript|ion.if e|
|00004f90| 6e 74 72 79 31 20 3d 20 | 30 20 74 68 65 6e 20 70 |ntry1 = |0 then p|
|00004fa0| 75 73 68 20 31 20 65 6c | 73 65 20 70 75 73 68 20 |ush 1 el|se push |
|00004fb0| 30 0a 43 6f 6d 6d 61 6e | 64 20 3a 20 30 3c 0a 54 |0.Comman|d : 0<.T|
|00004fc0| 79 70 65 20 20 20 20 3a | 20 63 6f 6d 6d 61 6e 64 |ype :| command|
|00004fd0| 20 2f 20 63 6f 6e 74 72 | 6f 6c 0a 41 72 67 75 6d | / contr|ol.Argum|
|00004fe0| 65 6e 74 73 20 20 20 20 | 20 20 20 3a 20 3c 65 6e |ents | : <en|
|00004ff0| 74 72 79 31 3e 20 0a 52 | 65 74 75 72 6e 73 20 3a |try1> .R|eturns :|
|00005000| 20 3c 65 6e 74 72 79 3e | 20 0a 44 65 73 63 72 69 | <entry>| .Descri|
|00005010| 70 74 69 6f 6e 0a 69 66 | 20 65 6e 74 72 79 31 20 |ption.if| entry1 |
|00005020| 3c 20 30 20 74 68 65 6e | 20 70 75 73 68 20 31 20 |< 0 then| push 1 |
|00005030| 65 6c 73 65 20 70 75 73 | 68 20 30 0a 0a 43 6f 6d |else pus|h 0..Com|
|00005040| 6d 61 6e 64 20 3a 20 30 | 3e 0a 54 79 70 65 20 20 |mand : 0|>.Type |
|00005050| 20 20 3a 20 63 6f 6d 6d | 61 6e 64 20 2f 20 63 6f | : comm|and / co|
|00005060| 6e 74 72 6f 6c 0a 41 72 | 67 75 6d 65 6e 74 73 20 |ntrol.Ar|guments |
|00005070| 20 20 20 20 20 20 3a 20 | 3c 65 6e 74 72 79 31 3e | : |<entry1>|
|00005080| 20 0a 52 65 74 75 72 6e | 73 20 3a 20 3c 65 6e 74 | .Return|s : <ent|
|00005090| 72 79 3e 20 0a 44 65 73 | 63 72 69 70 74 69 6f 6e |ry> .Des|cription|
|000050a0| 0a 69 66 20 65 6e 74 72 | 79 31 20 3e 20 30 20 74 |.if entr|y1 > 0 t|
|000050b0| 68 65 6e 20 70 75 73 68 | 20 31 20 65 6c 73 65 20 |hen push| 1 else |
|000050c0| 70 75 73 68 20 30 0a 0a | 43 6f 6d 6d 61 6e 64 20 |push 0..|Command |
|000050d0| 3a 20 65 78 65 63 75 74 | 65 0a 54 79 70 65 20 20 |: execut|e.Type |
|000050e0| 20 20 3a 20 63 6f 6d 6d | 61 6e 64 0a 41 72 67 75 | : comm|and.Argu|
|000050f0| 6d 65 6e 74 73 20 20 20 | 20 20 20 20 3a 20 20 3c |ments | : <|
|00005100| 65 6e 74 72 79 3e 0a 52 | 65 74 75 72 6e 73 20 3a |entry>.R|eturns :|
|00005110| 20 20 0a 44 65 73 63 72 | 69 70 74 69 6f 6e 0a 70 | .Descr|iption.p|
|00005120| 6f 70 73 20 74 68 65 20 | 74 6f 70 20 73 74 61 63 |ops the |top stac|
|00005130| 6b 20 65 6e 74 72 79 20 | 61 6e 64 20 77 69 6c 6c |k entry |and will|
|00005140| 20 65 78 65 63 75 74 65 | 20 74 68 65 20 41 52 4d | execute| the ARM|
|00005150| 46 4f 52 54 48 20 63 6f | 64 65 20 61 74 20 74 68 |FORTH co|de at th|
|00005160| 61 74 20 61 64 64 72 65 | 73 73 2e 0a 0a 43 6f 6d |at addre|ss...Com|
|00005170| 6d 61 6e 64 20 3a 20 61 | 62 6f 72 74 20 0a 54 79 |mand : a|bort .Ty|
|00005180| 70 65 20 20 20 20 3a 20 | 73 79 73 74 65 6d 20 63 |pe : |system c|
|00005190| 6f 6e 74 72 6f 6c 0a 41 | 72 67 75 6d 65 6e 74 73 |ontrol.A|rguments|
|000051a0| 20 20 20 20 20 20 20 3a | 20 20 0a 52 65 74 75 72 | :| .Retur|
|000051b0| 6e 73 20 3a 20 20 0a 44 | 65 73 63 72 69 70 74 69 |ns : .D|escripti|
|000051c0| 6f 6e 0a 72 65 73 74 61 | 72 74 73 20 74 68 65 20 |on.resta|rts the |
|000051d0| 69 6e 74 65 72 70 72 65 | 74 65 72 20 61 66 74 65 |interpre|ter afte|
|000051e0| 72 20 61 20 66 61 75 6c | 74 0a 0a 43 6f 6d 6d 61 |r a faul|t..Comma|
|000051f0| 6e 64 20 3a 20 62 69 6e | 0a 54 79 70 65 20 20 20 |nd : bin|.Type |
|00005200| 20 3a 20 63 6f 6d 6d 61 | 6e 64 0a 41 72 67 75 6d | : comma|nd.Argum|
|00005210| 65 6e 74 73 20 20 20 20 | 20 20 20 3a 20 20 0a 52 |ents | : .R|
|00005220| 65 74 75 72 6e 73 20 3a | 20 20 0a 44 65 73 63 72 |eturns :| .Descr|
|00005230| 69 70 74 69 6f 6e 0a 73 | 65 6c 65 63 74 73 20 62 |iption.s|elects b|
|00005240| 69 6e 61 72 79 20 64 69 | 73 70 6c 61 79 20 6d 6f |inary di|splay mo|
|00005250| 64 65 0a 0a 43 6f 6d 6d | 61 6e 64 20 3a 20 6f 63 |de..Comm|and : oc|
|00005260| 74 0a 54 79 70 65 20 20 | 20 20 3a 20 63 6f 6d 6d |t.Type | : comm|
|00005270| 61 6e 64 20 0a 41 72 67 | 75 6d 65 6e 74 73 20 20 |and .Arg|uments |
|00005280| 20 20 20 20 20 3a 20 0a | 52 65 74 75 72 6e 73 20 | : .|Returns |
|00005290| 3a 20 20 0a 44 65 73 63 | 72 69 70 74 69 6f 6e 0a |: .Desc|ription.|
|000052a0| 73 65 6c 65 63 74 73 20 | 6f 63 74 61 6c 20 64 69 |selects |octal di|
|000052b0| 73 70 6c 61 79 20 6d 6f | 64 65 0a 0a 43 6f 6d 6d |splay mo|de..Comm|
|000052c0| 61 6e 64 20 3a 20 64 65 | 63 0a 54 79 70 65 20 20 |and : de|c.Type |
|000052d0| 20 20 3a 20 63 6f 6d 6d | 61 6e 64 20 0a 41 72 67 | : comm|and .Arg|
|000052e0| 75 6d 65 6e 74 73 20 20 | 20 20 20 20 20 3a 20 20 |uments | : |
|000052f0| 0a 52 65 74 75 72 6e 73 | 20 3a 20 20 0a 44 65 73 |.Returns| : .Des|
|00005300| 63 72 69 70 74 69 6f 6e | 0a 73 65 6c 65 63 74 73 |cription|.selects|
|00005310| 20 64 65 63 69 6d 61 6c | 20 64 69 73 70 6c 61 79 | decimal| display|
|00005320| 20 6d 6f 64 65 0a 0a 43 | 6f 6d 6d 61 6e 64 20 3a | mode..C|ommand :|
|00005330| 20 68 65 78 0a 54 79 70 | 65 20 20 20 20 3a 20 63 | hex.Typ|e : c|
|00005340| 6f 6d 6d 61 6e 64 20 0a | 41 72 67 75 6d 65 6e 74 |ommand .|Argument|
|00005350| 73 20 20 20 20 20 20 20 | 3a 20 20 0a 52 65 74 75 |s |: .Retu|
|00005360| 72 6e 73 20 3a 20 20 0a | 44 65 73 63 72 69 70 74 |rns : .|Descript|
|00005370| 69 6f 6e 0a 73 65 6c 65 | 63 74 73 20 68 65 78 20 |ion.sele|cts hex |
|00005380| 64 69 73 70 6c 61 79 20 | 6d 6f 64 65 0a 0a 43 6f |display |mode..Co|
|00005390| 6d 6d 61 6e 64 20 3a 20 | 65 6e 74 72 79 0a 54 79 |mmand : |entry.Ty|
|000053a0| 70 65 20 20 20 20 3a 20 | 63 6f 6d 6d 61 6e 64 20 |pe : |command |
|000053b0| 0a 41 72 67 75 6d 65 6e | 74 73 20 20 20 20 20 20 |.Argumen|ts |
|000053c0| 20 3a 20 20 0a 52 65 74 | 75 72 6e 73 20 3a 20 3c | : .Ret|urns : <|
|000053d0| 65 6e 74 72 79 3e 0a 44 | 65 73 63 72 69 70 74 69 |entry>.D|escripti|
|000053e0| 6f 6e 0a 70 75 73 68 65 | 73 20 74 68 65 20 61 64 |on.pushe|s the ad|
|000053f0| 64 72 65 73 73 20 6f 66 | 20 74 68 65 20 66 69 72 |dress of| the fir|
|00005400| 73 74 20 68 65 61 64 65 | 72 20 77 6f 72 64 20 69 |st heade|r word i|
|00005410| 6e 20 74 68 65 20 6c 61 | 74 65 73 74 20 65 6e 74 |n the la|test ent|
|00005420| 72 79 20 69 6e 20 74 68 | 65 0a 43 55 52 52 45 4e |ry in th|e.CURREN|
|00005430| 54 20 76 6f 63 61 62 75 | 6c 61 72 79 2e 20 0a 0a |T vocabu|lary. ..|
|00005440| 43 6f 6d 6d 61 6e 64 20 | 3a 20 68 65 72 65 20 0a |Command |: here .|
|00005450| 54 79 70 65 20 20 20 20 | 3a 20 63 6f 6d 6d 61 6e |Type |: comman|
|00005460| 64 0a 41 72 67 75 6d 65 | 6e 74 73 20 20 20 20 20 |d.Argume|nts |
|00005470| 20 20 3a 20 0a 52 65 74 | 75 72 6e 73 20 3a 20 20 | : .Ret|urns : |
|00005480| 3c 65 6e 74 72 79 3e 0a | 44 65 73 63 72 69 70 74 |<entry>.|Descript|
|00005490| 69 6f 6e 0a 70 75 73 68 | 65 73 20 74 68 65 20 61 |ion.push|es the a|
|000054a0| 64 64 72 65 73 73 20 6f | 66 20 74 68 65 20 6e 65 |ddress o|f the ne|
|000054b0| 78 74 20 66 72 65 65 20 | 64 69 63 74 69 6f 6e 61 |xt free |dictiona|
|000054c0| 72 79 20 6c 6f 63 61 74 | 69 6f 6e 20 6f 6e 74 6f |ry locat|ion onto|
|000054d0| 20 74 68 65 20 64 61 74 | 61 20 73 74 61 63 6b 2e | the dat|a stack.|
|000054e0| 0a 0a 43 6f 6d 6d 61 6e | 64 20 3a 20 63 61 21 20 |..Comman|d : ca! |
|000054f0| 0a 54 79 70 65 20 20 20 | 20 3a 20 63 6f 6d 6d 61 |.Type | : comma|
|00005500| 6e 64 0a 41 72 67 75 6d | 65 6e 74 73 20 20 20 20 |nd.Argum|ents |
|00005510| 20 20 20 3a 20 20 3c 65 | 6e 74 72 79 3e 0a 52 65 | : <e|ntry>.Re|
|00005520| 74 75 72 6e 73 20 3a 20 | 20 0a 44 65 73 63 72 69 |turns : | .Descri|
|00005530| 70 74 69 6f 6e 0a 53 74 | 6f 72 65 73 20 74 68 65 |ption.St|ores the|
|00005540| 20 74 6f 70 20 73 74 61 | 63 6b 20 65 6e 74 72 79 | top sta|ck entry|
|00005550| 20 69 6e 20 74 68 65 20 | 77 6f 72 64 20 61 64 64 | in the |word add|
|00005560| 72 65 73 73 20 6c 6f 63 | 61 74 69 6f 6e 20 6f 66 |ress loc|ation of|
|00005570| 20 74 68 65 20 6c 61 74 | 65 73 74 0a 65 6e 74 72 | the lat|est.entr|
|00005580| 79 20 69 6e 20 74 68 65 | 20 43 55 52 52 45 4e 54 |y in the| CURRENT|
|00005590| 20 76 6f 63 61 62 75 6c | 61 72 79 2e 20 0a 0a 43 | vocabul|ary. ..C|
|000055a0| 6f 6d 6d 61 6e 64 20 3a | 20 61 73 70 61 63 65 0a |ommand :| aspace.|
|000055b0| 54 79 70 65 20 20 20 20 | 3a 20 63 6f 6d 6d 61 6e |Type |: comman|
|000055c0| 64 20 0a 41 72 67 75 6d | 65 6e 74 73 20 20 20 20 |d .Argum|ents |
|000055d0| 20 20 20 3a 20 20 0a 52 | 65 74 75 72 6e 73 20 3a | : .R|eturns :|
|000055e0| 20 33 32 20 0a 44 65 73 | 63 72 69 70 74 69 6f 6e | 32 .Des|cription|
|000055f0| 0a 70 75 73 68 65 73 20 | 74 68 65 20 61 73 63 69 |.pushes |the asci|
|00005600| 69 20 76 61 6c 75 65 20 | 6f 66 20 61 20 73 70 61 |i value |of a spa|
|00005610| 63 65 20 28 20 33 32 20 | 29 20 6f 6e 74 6f 20 74 |ce ( 32 |) onto t|
|00005620| 68 65 20 64 61 74 61 20 | 73 74 61 63 6b 2e 0a 0a |he data |stack...|
|00005630| 43 6f 6d 6d 61 6e 64 20 | 3a 20 2c 0a 54 79 70 65 |Command |: ,.Type|
|00005640| 20 20 20 20 3a 20 63 6f | 6d 6d 61 6e 64 20 0a 41 | : co|mmand .A|
|00005650| 72 67 75 6d 65 6e 74 73 | 20 20 20 20 20 20 20 3a |rguments| :|
|00005660| 20 3c 65 6e 74 72 79 3e | 20 0a 52 65 74 75 72 6e | <entry>| .Return|
|00005670| 73 20 3a 20 20 0a 44 65 | 73 63 72 69 70 74 69 6f |s : .De|scriptio|
|00005680| 6e 0a 65 6e 63 6c 6f 73 | 65 73 20 74 68 65 20 74 |n.enclos|es the t|
|00005690| 6f 70 20 64 61 74 61 20 | 73 74 61 63 6b 20 65 6e |op data |stack en|
|000056a0| 74 72 79 20 69 6e 20 74 | 68 65 20 64 69 63 74 69 |try in t|he dicti|
|000056b0| 6f 6e 61 72 79 20 61 6e | 64 20 61 64 76 61 6e 63 |onary an|d advanc|
|000056c0| 65 73 20 74 68 65 0a 64 | 69 63 74 69 6f 6e 61 72 |es the.d|ictionar|
|000056d0| 79 20 70 6f 69 6e 74 65 | 72 20 62 79 20 31 20 77 |y pointe|r by 1 w|
|000056e0| 6f 72 64 2e 20 0a 0a 43 | 6f 6d 6d 61 6e 64 20 3a |ord. ..C|ommand :|
|000056f0| 20 63 2c 0a 54 79 70 65 | 20 20 20 20 3a 20 63 6f | c,.Type| : co|
|00005700| 6d 6d 61 6e 64 20 0a 41 | 72 67 75 6d 65 6e 74 73 |mmand .A|rguments|
|00005710| 20 20 20 20 20 20 20 3a | 20 3c 65 6e 74 72 79 3e | :| <entry>|
|00005720| 20 0a 52 65 74 75 72 6e | 73 20 3a 20 20 0a 44 65 | .Return|s : .De|
|00005730| 73 63 72 69 70 74 69 6f | 6e 0a 65 6e 63 6c 6f 73 |scriptio|n.enclos|
|00005740| 65 73 20 74 68 65 20 6c | 6f 77 65 73 74 20 62 79 |es the l|owest by|
|00005750| 74 65 20 6f 66 20 74 68 | 65 20 74 6f 70 20 64 61 |te of th|e top da|
|00005760| 74 61 20 73 74 61 63 6b | 20 65 6e 74 72 79 20 69 |ta stack| entry i|
|00005770| 6e 20 74 68 65 20 64 69 | 63 74 69 6f 6e 61 72 79 |n the di|ctionary|
|00005780| 0a 61 6e 64 20 6d 6f 76 | 65 73 20 74 68 65 20 64 |.and mov|es the d|
|00005790| 69 63 74 69 6f 6e 61 72 | 79 20 70 6f 69 6e 74 65 |ictionar|y pointe|
|000057a0| 72 20 66 6f 72 77 61 72 | 64 20 62 79 20 31 2e 20 |r forwar|d by 1. |
|000057b0| 20 43 41 52 45 20 49 53 | 20 52 45 43 4f 4d 4d 45 | CARE IS| RECOMME|
|000057c0| 4e 44 45 44 20 21 21 21 | 0a 0a 43 6f 6d 6d 61 6e |NDED !!!|..Comman|
|000057d0| 64 20 3a 20 62 75 66 66 | 65 72 0a 54 79 70 65 20 |d : buff|er.Type |
|000057e0| 20 20 20 3a 20 73 79 73 | 74 65 6d 20 76 61 72 69 | : sys|tem vari|
|000057f0| 61 62 6c 65 20 0a 41 72 | 67 75 6d 65 6e 74 73 20 |able .Ar|guments |
|00005800| 20 20 20 20 20 20 3a 20 | 20 0a 52 65 74 75 72 6e | : | .Return|
|00005810| 73 20 3a 20 3c 61 64 64 | 72 65 73 73 20 6f 66 20 |s : <add|ress of |
|00005820| 74 68 65 20 69 6e 70 75 | 74 20 62 75 66 66 65 72 |the inpu|t buffer|
|00005830| 3e 20 0a 44 65 73 63 72 | 69 70 74 69 6f 6e 0a 75 |> .Descr|iption.u|
|00005840| 73 65 64 20 74 6f 20 67 | 65 74 20 63 68 61 72 61 |sed to g|et chara|
|00005850| 63 74 65 72 73 20 66 72 | 6f 6d 20 74 68 65 20 69 |cters fr|om the i|
|00005860| 6e 70 75 74 20 62 75 66 | 66 65 72 0a 0a 43 6f 6d |nput buf|fer..Com|
|00005870| 6d 61 6e 64 20 3a 20 21 | 0a 54 79 70 65 20 20 20 |mand : !|.Type |
|00005880| 20 3a 20 63 6f 6d 6d 61 | 6e 64 20 2f 20 6d 65 6d | : comma|nd / mem|
|00005890| 6f 72 79 20 0a 41 72 67 | 75 6d 65 6e 74 73 20 20 |ory .Arg|uments |
|000058a0| 20 20 20 20 20 3a 20 3c | 65 6e 74 72 79 31 3e 20 | : <|entry1> |
|000058b0| 3c 65 6e 74 72 79 32 3e | 20 0a 52 65 74 75 72 6e |<entry2>| .Return|
|000058c0| 73 20 3a 20 20 0a 44 65 | 73 63 72 69 70 74 69 6f |s : .De|scriptio|
|000058d0| 6e 0a 70 75 74 73 20 74 | 68 65 20 77 6f 72 64 20 |n.puts t|he word |
|000058e0| 65 6e 74 72 79 32 20 69 | 6e 20 74 68 65 20 61 64 |entry2 i|n the ad|
|000058f0| 64 72 65 73 73 20 65 6e | 74 72 79 31 0a 0a 43 6f |dress en|try1..Co|
|00005900| 6d 6d 61 6e 64 20 3a 20 | 63 21 0a 54 79 70 65 20 |mmand : |c!.Type |
|00005910| 20 20 20 3a 20 63 6f 6d | 6d 61 6e 64 20 2f 20 6d | : com|mand / m|
|00005920| 65 6d 6f 72 79 20 0a 41 | 72 67 75 6d 65 6e 74 73 |emory .A|rguments|
|00005930| 20 20 20 20 20 20 20 3a | 20 3c 65 6e 74 72 79 31 | :| <entry1|
|00005940| 3e 20 3c 65 6e 74 72 79 | 32 3e 20 0a 52 65 74 75 |> <entry|2> .Retu|
|00005950| 72 6e 73 20 3a 20 20 0a | 44 65 73 63 72 69 70 74 |rns : .|Descript|
|00005960| 69 6f 6e 0a 70 75 74 73 | 20 74 68 65 20 6c 73 62 |ion.puts| the lsb|
|00005970| 20 6f 66 20 74 68 65 20 | 77 6f 72 64 20 65 6e 74 | of the |word ent|
|00005980| 72 79 32 20 69 6e 74 6f | 20 74 68 65 20 61 64 64 |ry2 into| the add|
|00005990| 72 65 73 73 20 65 6e 74 | 72 79 31 0a 0a 43 6f 6d |ress ent|ry1..Com|
|000059a0| 6d 61 6e 64 20 3a 20 2b | 21 0a 54 79 70 65 20 20 |mand : +|!.Type |
|000059b0| 20 20 3a 20 63 6f 6d 6d | 61 6e 64 20 2f 20 6d 65 | : comm|and / me|
|000059c0| 6d 6f 72 79 20 0a 41 72 | 67 75 6d 65 6e 74 73 20 |mory .Ar|guments |
|000059d0| 20 20 20 20 20 20 3a 20 | 3c 65 6e 74 72 79 31 3e | : |<entry1>|
|000059e0| 20 3c 65 6e 74 72 79 32 | 3e 20 0a 52 65 74 75 72 | <entry2|> .Retur|
|000059f0| 6e 73 20 3a 20 20 0a 44 | 65 73 63 72 69 70 74 69 |ns : .D|escripti|
|00005a00| 6f 6e 0a 61 64 64 73 20 | 65 6e 74 72 79 32 20 74 |on.adds |entry2 t|
|00005a10| 6f 20 74 68 65 20 76 61 | 6c 75 65 20 61 74 20 61 |o the va|lue at a|
|00005a20| 64 64 72 65 73 73 20 65 | 6e 74 72 79 31 0a 0a 43 |ddress e|ntry1..C|
|00005a30| 6f 6d 6d 61 6e 64 20 3a | 20 63 2b 21 0a 54 79 70 |ommand :| c+!.Typ|
|00005a40| 65 20 20 20 20 3a 20 63 | 6f 6d 6d 61 6e 64 20 2f |e : c|ommand /|
|00005a50| 20 6d 65 6d 6f 72 79 20 | 0a 41 72 67 75 6d 65 6e | memory |.Argumen|
|00005a60| 74 73 20 20 20 20 20 20 | 20 3a 20 3c 65 6e 74 72 |ts | : <entr|
|00005a70| 79 31 3e 20 3c 65 6e 74 | 72 79 32 3e 20 0a 52 65 |y1> <ent|ry2> .Re|
|00005a80| 74 75 72 6e 73 20 3a 20 | 20 0a 44 65 73 63 72 69 |turns : | .Descri|
|00005a90| 70 74 69 6f 6e 0a 61 64 | 64 73 20 74 68 65 20 6c |ption.ad|ds the l|
|00005aa0| 73 62 20 6f 66 20 65 6e | 74 72 79 32 20 74 6f 20 |sb of en|try2 to |
|00005ab0| 74 68 65 20 62 79 74 65 | 20 61 74 20 61 64 64 72 |the byte| at addr|
|00005ac0| 65 73 73 20 65 6e 74 72 | 79 31 0a 0a 43 6f 6d 6d |ess entr|y1..Comm|
|00005ad0| 61 6e 64 20 3a 20 30 73 | 65 74 0a 54 79 70 65 20 |and : 0s|et.Type |
|00005ae0| 20 20 20 3a 20 63 6f 6d | 6d 61 6e 64 20 2f 20 6d | : com|mand / m|
|00005af0| 65 6d 6f 72 79 20 0a 41 | 72 67 75 6d 65 6e 74 73 |emory .A|rguments|
|00005b00| 20 20 20 20 20 20 20 3a | 20 3c 65 6e 74 72 79 31 | :| <entry1|
|00005b10| 3e 20 0a 52 65 74 75 72 | 6e 73 20 3a 20 20 0a 44 |> .Retur|ns : .D|
|00005b20| 65 73 63 72 69 70 74 69 | 6f 6e 0a 7a 65 72 6f 73 |escripti|on.zeros|
|00005b30| 20 74 68 65 20 77 6f 72 | 64 20 61 74 20 61 64 64 | the wor|d at add|
|00005b40| 72 65 73 73 20 65 6e 74 | 72 79 31 0a 0a 43 6f 6d |ress ent|ry1..Com|
|00005b50| 6d 61 6e 64 20 3a 20 31 | 73 65 74 0a 54 79 70 65 |mand : 1|set.Type|
|00005b60| 20 20 20 20 3a 20 63 6f | 6d 6d 61 6e 64 20 2f 20 | : co|mmand / |
|00005b70| 6d 65 6d 6f 72 79 20 0a | 41 72 67 75 6d 65 6e 74 |memory .|Argument|
|00005b80| 73 20 20 20 20 20 20 20 | 3a 20 3c 65 6e 74 72 79 |s |: <entry|
|00005b90| 31 3e 20 0a 52 65 74 75 | 72 6e 73 20 3a 20 20 0a |1> .Retu|rns : .|
|00005ba0| 44 65 73 63 72 69 70 74 | 69 6f 6e 0a 73 65 74 73 |Descript|ion.sets|
|00005bb0| 20 74 68 65 20 77 6f 72 | 64 20 61 74 20 61 64 64 | the wor|d at add|
|00005bc0| 72 65 73 73 20 65 6e 74 | 72 79 31 20 74 6f 20 31 |ress ent|ry1 to 1|
|00005bd0| 0a 43 6f 6d 6d 61 6e 64 | 20 3a 20 63 30 73 65 74 |.Command| : c0set|
|00005be0| 0a 54 79 70 65 20 20 20 | 20 3a 20 63 6f 6d 6d 61 |.Type | : comma|
|00005bf0| 6e 64 20 2f 20 6d 65 6d | 6f 72 79 20 0a 41 72 67 |nd / mem|ory .Arg|
|00005c00| 75 6d 65 6e 74 73 20 20 | 20 20 20 20 20 3a 20 3c |uments | : <|
|00005c10| 65 6e 74 72 79 31 3e 20 | 0a 52 65 74 75 72 6e 73 |entry1> |.Returns|
|00005c20| 20 3a 20 20 0a 44 65 73 | 63 72 69 70 74 69 6f 6e | : .Des|cription|
|00005c30| 0a 73 65 74 73 20 74 68 | 65 20 62 79 74 65 20 61 |.sets th|e byte a|
|00005c40| 74 20 61 64 64 72 65 73 | 73 20 65 6e 74 72 79 31 |t addres|s entry1|
|00005c50| 20 74 6f 20 7a 65 72 6f | 0a 0a 43 6f 6d 6d 61 6e | to zero|..Comman|
|00005c60| 64 20 3a 20 63 31 73 65 | 74 0a 54 79 70 65 20 20 |d : c1se|t.Type |
|00005c70| 20 20 3a 20 63 6f 6d 6d | 61 6e 64 20 2f 20 6d 65 | : comm|and / me|
|00005c80| 6d 6f 72 79 20 0a 41 72 | 67 75 6d 65 6e 74 73 20 |mory .Ar|guments |
|00005c90| 20 20 20 20 20 20 3a 20 | 3c 65 6e 74 72 79 31 3e | : |<entry1>|
|00005ca0| 20 0a 52 65 74 75 72 6e | 73 20 3a 20 20 0a 44 65 | .Return|s : .De|
|00005cb0| 73 63 72 69 70 74 69 6f | 6e 0a 73 65 74 73 20 74 |scriptio|n.sets t|
|00005cc0| 68 65 20 62 79 74 65 20 | 61 74 20 61 64 64 72 65 |he byte |at addre|
|00005cd0| 73 73 20 65 6e 74 72 79 | 31 20 74 6f 20 31 0a 0a |ss entry|1 to 1..|
|00005ce0| 43 6f 6d 6d 61 6e 64 20 | 3a 20 40 0a 54 79 70 65 |Command |: @.Type|
|00005cf0| 20 20 20 20 3a 20 63 6f | 6d 6d 61 6e 64 20 2f 20 | : co|mmand / |
|00005d00| 6d 65 6d 6f 72 79 20 0a | 41 72 67 75 6d 65 6e 74 |memory .|Argument|
|00005d10| 73 20 20 20 20 20 20 20 | 3a 20 3c 65 6e 74 72 79 |s |: <entry|
|00005d20| 31 3e 20 0a 52 65 74 75 | 72 6e 73 20 3a 20 3c 65 |1> .Retu|rns : <e|
|00005d30| 6e 74 72 79 3e 20 0a 44 | 65 73 63 72 69 70 74 69 |ntry> .D|escripti|
|00005d40| 6f 6e 0a 70 75 73 68 65 | 73 20 74 68 65 20 77 6f |on.pushe|s the wo|
|00005d50| 72 64 20 61 74 20 61 64 | 64 72 65 73 73 20 65 6e |rd at ad|dress en|
|00005d60| 74 72 79 31 20 6f 6e 74 | 6f 20 74 68 65 20 64 61 |try1 ont|o the da|
|00005d70| 74 61 20 73 74 61 63 6b | 0a 0a 43 6f 6d 6d 61 6e |ta stack|..Comman|
|00005d80| 64 20 3a 20 63 40 0a 54 | 79 70 65 20 20 20 20 3a |d : c@.T|ype :|
|00005d90| 20 63 6f 6d 6d 61 6e 64 | 20 2f 20 6d 65 6d 6f 72 | command| / memor|
|00005da0| 79 20 0a 41 72 67 75 6d | 65 6e 74 73 20 20 20 20 |y .Argum|ents |
|00005db0| 20 20 20 3a 20 3c 65 6e | 74 72 79 31 3e 20 0a 52 | : <en|try1> .R|
|00005dc0| 65 74 75 72 6e 73 20 3a | 20 3c 65 6e 74 72 79 3e |eturns :| <entry>|
|00005dd0| 20 0a 44 65 73 63 72 69 | 70 74 69 6f 6e 0a 70 75 | .Descri|ption.pu|
|00005de0| 73 68 65 73 20 74 68 65 | 20 62 79 74 65 20 28 20 |shes the| byte ( |
|00005df0| 65 78 70 61 6e 64 65 64 | 20 74 6f 20 33 32 20 62 |expanded| to 32 b|
|00005e00| 69 74 73 20 29 20 61 74 | 20 61 64 64 72 65 73 73 |its ) at| address|
|00005e10| 20 65 6e 74 72 79 31 20 | 6f 6e 74 6f 20 74 68 65 | entry1 |onto the|
|00005e20| 20 64 61 74 61 20 73 74 | 61 63 6b 0a 0a 43 6f 6d | data st|ack..Com|
|00005e30| 6d 61 6e 64 20 3a 20 61 | 6c 69 67 6e 0a 54 79 70 |mand : a|lign.Typ|
|00005e40| 65 20 20 20 20 3a 20 63 | 6f 6d 6d 61 6e 64 20 2f |e : c|ommand /|
|00005e50| 20 6d 65 6d 6f 72 79 20 | 0a 41 72 67 75 6d 65 6e | memory |.Argumen|
|00005e60| 74 73 20 20 20 20 20 20 | 20 3a 20 3c 65 6e 74 72 |ts | : <entr|
|00005e70| 79 31 3e 20 0a 52 65 74 | 75 72 6e 73 20 3a 20 3c |y1> .Ret|urns : <|
|00005e80| 65 6e 74 72 79 3e 20 0a | 44 65 73 63 72 69 70 74 |entry> .|Descript|
|00005e90| 69 6f 6e 0a 72 65 70 6c | 61 63 65 73 20 65 6e 74 |ion.repl|aces ent|
|00005ea0| 72 79 31 20 77 69 74 68 | 20 74 68 65 20 6e 65 61 |ry1 with| the nea|
|00005eb0| 72 65 73 74 20 76 61 6c | 75 65 20 72 6f 75 6e 64 |rest val|ue round|
|00005ec0| 65 64 20 75 70 20 74 6f | 20 61 20 77 6f 72 64 20 |ed up to| a word |
|00005ed0| 62 6f 75 6e 64 61 72 79 | 0a 45 78 61 6d 70 6c 65 |boundary|.Example|
|00005ee0| 20 3a 20 64 65 63 20 35 | 20 61 6c 69 67 6e 20 2e | : dec 5| align .|
|00005ef0| 20 2d 20 77 6f 75 6c 64 | 20 64 69 73 70 6c 61 79 | - would| display|
|00005f00| 20 38 0a 0a 43 6f 6d 6d | 61 6e 64 20 3a 20 6f 76 | 8..Comm|and : ov|
|00005f10| 65 72 0a 54 79 70 65 20 | 20 20 20 3a 20 63 6f 6d |er.Type | : com|
|00005f20| 6d 61 6e 64 20 2f 20 73 | 74 61 63 6b 20 0a 41 72 |mand / s|tack .Ar|
|00005f30| 67 75 6d 65 6e 74 73 20 | 20 20 20 20 20 20 3a 20 |guments | : |
|00005f40| 3c 65 6e 74 72 79 31 3e | 20 3c 65 6e 74 72 79 32 |<entry1>| <entry2|
|00005f50| 3e 20 0a 52 65 74 75 72 | 6e 73 20 3a 20 3c 65 6e |> .Retur|ns : <en|
|00005f60| 74 72 79 32 3e 20 3c 65 | 6e 74 72 79 31 3e 20 3c |try2> <e|ntry1> <|
|00005f70| 65 6e 74 72 79 32 3e 20 | 0a 44 65 73 63 72 69 70 |entry2> |.Descrip|
|00005f80| 74 69 6f 6e 0a 6f 76 65 | 72 20 70 75 73 68 65 73 |tion.ove|r pushes|
|00005f90| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 73 74 61 63 | the sec|ond stac|
|00005fa0| 6b 20 65 6e 74 72 79 20 | 6f 6e 74 6f 20 74 68 65 |k entry |onto the|
|00005fb0| 20 64 61 74 61 20 73 74 | 61 63 6b 0a 0a 43 6f 6d | data st|ack..Com|
|00005fc0| 6d 61 6e 64 20 3a 20 32 | 6f 76 65 72 0a 54 79 70 |mand : 2|over.Typ|
|00005fd0| 65 20 20 20 20 3a 20 63 | 6f 6d 6d 61 6e 64 20 2f |e : c|ommand /|
|00005fe0| 20 73 74 61 63 6b 20 0a | 41 72 67 75 6d 65 6e 74 | stack .|Argument|
|00005ff0| 73 20 20 20 20 20 20 20 | 3a 20 3c 65 6e 74 72 79 |s |: <entry|
|00006000| 31 3e 20 3c 65 6e 74 72 | 79 32 3e 20 3c 65 6e 74 |1> <entr|y2> <ent|
|00006010| 72 79 33 3e 20 0a 52 65 | 74 75 72 6e 73 20 3a 20 |ry3> .Re|turns : |
|00006020| 3c 65 6e 74 72 79 33 3e | 20 3c 65 6e 74 72 79 31 |<entry3>| <entry1|
|00006030| 3e 20 3c 65 6e 74 72 79 | 32 3e 20 3c 65 6e 74 72 |> <entry|2> <entr|
|00006040| 79 33 3e 20 0a 44 65 73 | 63 72 69 70 74 69 6f 6e |y3> .Des|cription|
|00006050| 0a 32 6f 76 65 72 20 70 | 75 73 68 65 73 20 74 68 |.2over p|ushes th|
|00006060| 65 20 74 68 69 72 64 20 | 73 74 61 63 6b 20 65 6e |e third |stack en|
|00006070| 74 72 79 20 6f 6e 74 6f | 20 74 68 65 20 64 61 74 |try onto| the dat|
|00006080| 61 20 73 74 61 63 6b 2e | 0a 0a 43 6f 6d 6d 61 6e |a stack.|..Comman|
|00006090| 64 20 3a 20 73 77 61 70 | 0a 54 79 70 65 20 20 20 |d : swap|.Type |
|000060a0| 20 3a 20 63 6f 6d 6d 61 | 6e 64 20 2f 20 73 74 61 | : comma|nd / sta|
|000060b0| 63 6b 20 0a 41 72 67 75 | 6d 65 6e 74 73 20 20 20 |ck .Argu|ments |
|000060c0| 20 20 20 20 3a 20 3c 65 | 6e 74 72 79 31 3e 20 3c | : <e|ntry1> <|
|000060d0| 65 6e 74 72 79 32 3e 20 | 0a 52 65 74 75 72 6e 73 |entry2> |.Returns|
|000060e0| 20 3a 20 3c 65 6e 74 72 | 79 32 3e 20 3c 65 6e 74 | : <entr|y2> <ent|
|000060f0| 72 79 31 3e 20 0a 44 65 | 73 63 72 69 70 74 69 6f |ry1> .De|scriptio|
|00006100| 6e 0a 73 77 61 70 73 20 | 74 68 65 20 74 6f 70 20 |n.swaps |the top |
|00006110| 32 20 73 74 61 63 6b 20 | 65 6e 74 72 69 65 73 0a |2 stack |entries.|
|00006120| 0a 43 6f 6d 6d 61 6e 64 | 20 3a 20 32 73 77 61 70 |.Command| : 2swap|
|00006130| 0a 54 79 70 65 20 20 20 | 20 3a 20 63 6f 6d 6d 61 |.Type | : comma|
|00006140| 6e 64 20 2f 20 73 74 61 | 63 6b 20 0a 41 72 67 75 |nd / sta|ck .Argu|
|00006150| 6d 65 6e 74 73 20 20 20 | 20 20 20 20 3a 20 3c 65 |ments | : <e|
|00006160| 6e 74 72 79 31 3e 20 3c | 65 6e 74 72 79 32 3e 20 |ntry1> <|entry2> |
|00006170| 3c 65 6e 74 72 79 33 3e | 20 0a 52 65 74 75 72 6e |<entry3>| .Return|
|00006180| 73 20 3a 20 3c 65 6e 74 | 72 79 33 3e 20 3c 65 6e |s : <ent|ry3> <en|
|00006190| 74 72 79 32 3e 20 3c 65 | 6e 74 72 79 31 3e 20 0a |try2> <e|ntry1> .|
|000061a0| 44 65 73 63 72 69 70 74 | 69 6f 6e 0a 73 77 61 70 |Descript|ion.swap|
|000061b0| 73 20 74 68 65 20 66 69 | 72 73 74 20 61 6e 64 20 |s the fi|rst and |
|000061c0| 74 68 69 72 64 20 73 74 | 61 63 6b 20 65 6e 74 72 |third st|ack entr|
|000061d0| 69 65 73 2e 0a 0a 43 6f | 6d 6d 61 6e 64 20 3a 20 |ies...Co|mmand : |
|000061e0| 64 75 70 0a 54 79 70 65 | 20 20 20 20 3a 20 63 6f |dup.Type| : co|
|000061f0| 6d 6d 61 6e 64 20 2f 20 | 73 74 61 63 6b 20 0a 41 |mmand / |stack .A|
|00006200| 72 67 75 6d 65 6e 74 73 | 20 20 20 20 20 20 20 3a |rguments| :|
|00006210| 0a 52 65 74 75 72 6e 73 | 20 3a 20 3c 65 6e 74 72 |.Returns| : <entr|
|00006220| 79 31 3e 20 3c 65 6e 74 | 72 79 31 3e 20 0a 44 65 |y1> <ent|ry1> .De|
|00006230| 73 63 72 69 70 74 69 6f | 6e 0a 70 75 73 68 65 73 |scriptio|n.pushes|
|00006240| 20 74 68 65 20 74 6f 70 | 20 73 74 61 63 6b 20 65 | the top| stack e|
|00006250| 6e 74 72 79 20 6f 6e 74 | 6f 20 74 68 65 20 73 74 |ntry ont|o the st|
|00006260| 61 63 6b 2e 0a 0a 43 6f | 6d 6d 61 6e 64 20 3a 20 |ack...Co|mmand : |
|00006270| 64 72 6f 70 0a 54 79 70 | 65 20 20 20 20 3a 20 63 |drop.Typ|e : c|
|00006280| 6f 6d 6d 61 6e 64 20 2f | 20 73 74 61 63 6b 20 0a |ommand /| stack .|
|00006290| 41 72 67 75 6d 65 6e 74 | 73 20 20 20 20 20 20 20 |Argument|s |
|000062a0| 20 20 20 20 20 20 20 20 | 3a 20 3c 65 6e 74 72 79 | |: <entry|
|000062b0| 31 3e 20 3c 65 6e 74 72 | 79 32 3e 20 0a 52 65 74 |1> <entr|y2> .Ret|
|000062c0| 75 72 6e 73 20 3a 20 3c | 65 6e 74 72 79 32 3e 20 |urns : <|entry2> |
|000062d0| 0a 44 65 73 63 72 69 70 | 74 69 6f 6e 0a 70 6f 70 |.Descrip|tion.pop|
|000062e0| 73 20 74 68 65 20 74 6f | 70 20 73 74 61 63 6b 20 |s the to|p stack |
|000062f0| 65 6e 74 72 79 2e 0a 0a | 43 6f 6d 6d 61 6e 64 3a |entry...|Command:|
|00006300| 20 20 20 20 20 20 20 20 | 20 32 64 75 70 0a 54 79 | | 2dup.Ty|
|00006310| 70 65 20 20 20 20 3a 20 | 63 6f 6d 6d 61 6e 64 20 |pe : |command |
|00006320| 2f 20 73 74 61 63 6b 20 | 0a 41 72 67 75 6d 65 6e |/ stack |.Argumen|
|00006330| 74 73 20 20 20 20 20 20 | 20 3a 20 3c 65 6e 74 72 |ts | : <entr|
|00006340| 79 31 3e 20 0a 52 65 74 | 75 72 6e 73 20 3a 20 3c |y1> .Ret|urns : <|
|00006350| 65 6e 74 72 79 31 3e 20 | 3c 65 6e 74 72 79 31 3e |entry1> |<entry1>|
|00006360| 20 3c 65 6e 74 72 79 31 | 3e 20 0a 44 65 73 63 72 | <entry1|> .Descr|
|00006370| 69 70 74 69 6f 6e 0a 64 | 75 70 6c 69 63 61 74 65 |iption.d|uplicate|
|00006380| 73 20 74 68 65 20 74 6f | 70 20 73 74 61 63 6b 20 |s the to|p stack |
|00006390| 65 6e 74 72 79 20 74 77 | 69 63 65 2e 0a 0a 43 6f |entry tw|ice...Co|
|000063a0| 6d 6d 61 6e 64 20 3a 20 | 3f 72 73 20 0a 54 79 70 |mmand : |?rs .Typ|
|000063b0| 65 20 20 20 20 3a 20 63 | 6f 6d 6d 61 6e 64 20 2f |e : c|ommand /|
|000063c0| 20 73 74 61 63 6b 0a 41 | 72 67 75 6d 65 6e 74 73 | stack.A|rguments|
|000063d0| 20 20 20 20 20 20 20 3a | 20 20 0a 52 65 74 75 72 | :| .Retur|
|000063e0| 6e 73 20 3a 20 20 3c 65 | 6e 74 72 79 3e 0a 44 65 |ns : <e|ntry>.De|
|000063f0| 73 63 72 69 70 74 69 6f | 6e 0a 70 75 73 68 65 73 |scriptio|n.pushes|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.